Hi,

I'm using SMX 4.3 with Camel 2.6

I'm trying to have automatic processing done when we receive any message in
any route. The purpose is to have a single correlationId to track the
incoming message if it undergoes several routes that can even be in several
camelcontext (those routes can be deployed in different bundles).
I already did it using the interceptFrom in the definition of all my
camelContext. But I'd like to have it defined outside of the camelcontext
definition, since
- I want to have it defined for all the camelcontext (so I want to be sure
not to forget it)
- many people will write routes and camelcontext bundles, and I don't want
to force them to put this in their config, since they can forget and it will
add extra "noise" to their definitions

Is there a way to do this ? I already tried to see if I could configure
another camelcontext than the DefaultCamelContext, (that could be a
solution), but haven't found how to do it. I assume there is also some
possibility at the level of OSGI, but haven't found a clue about it...

Any help would be greatly appreciated,

Mike

Reply via email to