On Wed, May 14, 2014 at 10:21 PM, Ramiro Pugh <[email protected]> wrote: > Hi, I'm trying to develop an auditor for every context that exist in Jboss > Fuse. > > I read this post > http://java.dzone.com/articles/measure-elapsed-time-cameland this is > the best approach to my solution. But I wish to create one > single bean and make posiible with one single bean intercept all the > exchanges in all the contexts in Fuse. Is this possible? >
You can create one osgi bundle with the implementation and install that, and have it enlisted in osgi service registry. And then for each camel bundle, you need to lookup that bean in the osgi service registry, so <camelContext> can find it. > Regards > > -- > Ramiro Pugh -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/
