On Mon, Jan 11, 2010 at 9:01 AM, S. Ali Tokmen <[email protected]> wrote: > 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?
No all that is only applicable for routes. > > By the way, is there a way of adding in the tracer for the manual code? > No Tracer is done on routes only as well. > 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 > > > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
