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
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
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.
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
; 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
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