jeudi 2 avril 2015

Apache camel wiretap usage

Can any one give me a hint if it is possible to use



.wireTap()


like



.bean(Test.class, "testMethod(Exchange)");


I am trying to create route which will process the request by sending right away processing… message and at the same time is calling testMethod in order to process the order


test case:



from("timer:test")
//.to("log:test")
.bean(Test.class, "testMethod2()")
.bean(Test.class, "testMethod(Exchange)");


showed that testMethod is waiting for testMethod2 to be ended. I would like to run those two methods asynchronously


Aucun commentaire:

Enregistrer un commentaire