It seems there's currently no easy way to add an InterceptStrategy
without having full control over the CamelContext.  I think what would
be needed is a static global list of InterceptStrategy that would be
automatically added to each CamelContext at creation time.  That
should be an easy and safe enhancement to the DefaultCamelContext, but
I need to make sure it fulfills the need before going that way.

Actually, I'm investigating the exact same thing to include in
ServiceMix.  If you're interested, monitor the servicemix dev list as
I plan to start a thread about that next week.

On Fri, Jun 24, 2011 at 17:10, Marco Westermann <marwesterm...@gmx.de> wrote:
> Hi,
>
> is it somehow possible to intercept a route from outside the camel context?
> I'd like to write a module which intercept every route which is deployed in
> SMX and does something with the intercepted messages.
>
>
> Thank you in advance.
>
> Marco
>



-- 
------------------------
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Reply via email to