Hi This is on the roadmap for Camel 3.0 / SMX 5.0, to make it possible to install star/stop bundles which can add tracers / interceptors / etc. to any running Camel applications.
On Mon, Nov 28, 2011 at 9:50 AM, Muenkel, Markus <[email protected]> wrote: > Hello, > > For monitoring purposes I would like to track Exchanges in all Camel contexts > that have been started in an OSGi container. I noticed a similar discussion > in the following thread: > http://camel.465427.n5.nabble.com/intercept-route-td4521314.html#a4521358. > > The aim would be to automatically apply Camel objects like Tracer, > InterceptStrategy and EventNotifier without having to configure this in each > and every deployed CamelContext. > > Without this feature it seems I have to add > > CamelContext.getManagementStrategy().addEventNotifier(myEventNotifier); > CamelContext.addInterceptStrategy(myInterceptStrategy); // etc. > > for all CamelContexts separately in the Java route builder, or the analogous > configuration for Camel XML DSL. > > Is the feature meanwhile supported? I am currently using Camel 2.8.1. > > Best regards, > Markus > -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
