Re: Global Interceptor for all incoming Messages

2012-06-21 Thread wing-tung Leung
2012/6/21 sushil_vsk5 : > Unfortunately, the interceptFrom() only seems to intercept messages for > those routes which are defined in the same RouteBuilder class as the > interceptFrom() itself. Is there a way to intercept messages for all > incoming messages for all routes that the camel context h

Re: Global Interceptor for all incoming Messages

2012-06-21 Thread Claus Ibsen
to allow to hot deploy / instrument cross cutting concerns to existing CamelContext's on the fly. In the 2.x version you need to do this up-front. > Regards, > Sushil > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Global-Interceptor-for-a

Re: Global Interceptor for all incoming Messages

2012-06-21 Thread James Carman
rcepyStrategy or something? > > Regards, > Sushil > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Global-Interceptor-for-all-incoming-Messages-tp5714820p5714827.html > Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Global Interceptor for all incoming Messages

2012-06-21 Thread sushil_vsk5
developers extending from a custom RouteBuilder class, is there any other way I can achieve this? Can I use an IntercepyStrategy or something? Regards, Sushil -- View this message in context: http://camel.465427.n5.nabble.com/Global-Interceptor-for-all-incoming-Messages-tp5714820p5714827.html

Re: Global Interceptor for all incoming Messages

2012-06-21 Thread Claus Ibsen
; Regards, > Sushil > You can have a base RouteBuilder class (extending the Camel RouteBuilder) where you add the global stuff. And then extend this class from your routes, and invoke the super. configure() method first, so the base class code is included. > -- > View this message in c

Global Interceptor for all incoming Messages

2012-06-21 Thread sushil_vsk5
ned in the same RouteBuilder class as the interceptFrom() itself. Is there a way to intercept messages for all incoming messages for all routes that the camel context holds? Regards, Sushil -- View this message in context: http://camel.465427.n5.nabble.com/Global-Interceptor-for-all-incomin