If you are using OSGi Blueprint you may face this issue: https://issues.apache.org/jira/browse/CAMEL-7091
Henrique Viecili On 16 May 2014 02:18, Claus Ibsen <claus.ib...@gmail.com> wrote: > On Wed, May 14, 2014 at 10:21 PM, Ramiro Pugh <ramp...@gmail.com> 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: cib...@redhat.com > Twitter: davsclaus > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen > hawtio: http://hawt.io/ > fabric8: http://fabric8.io/ >