Hello

Le 10/01/2010 09:43, Claus Ibsen a écrit :
The tracer works on the routes only. So it gets activated when any
Exchange gets routed to a Camel route.

So if you custom code send the Exchange to a "direct:foo" endpoint
which then has a route then it should get traced

from("direct:foo").to("bean:foo").to("bean:bar");

Then it should trace the routing direct:foo ->  bean:foo ->  bean:bar.
But NOT the manual code you did to send the Exchange to the direct:foo endpoint.

OK, this means things are working as expected. Is the onException clause declared for the context supposed to work for the manual code?

By the way, is there a way of adding in the tracer for the manual code?

Cheers

S. Ali Tokmen
[email protected]

Office: +33 4 76 29 76 19
GSM:    +33 66 43 00 555

Bull, Architect of an Open World TM
http://www.bull.com



Reply via email to