Hi Clause, Thanks for the notice!
Best Regards, Sergey -----Original Message----- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Saturday, June 22, 2013 8:46 PM To: users@camel.apache.org Subject: Re: Camel Context InterceptStrategy Hi In Camel 2.12 you can use the Container SPI org.apache.camel.spi.Container On Tue, Jun 18, 2013 at 12:44 PM, Zhemzhitsky Sergey <sergey_zhemzhit...@sberbank-cib.ru> wrote: > Hello guys, > > I’d like to apply custom intercept strategy to a given camel context running > in an OSGi environment at runtime. > I’ve implemented osgi service-reference listener (blueprint) that is notified > when the camel context appears. When the listener is invoked the intercept > strategy is added to the camel context. > Unfortunately, for the InterceptStrategy to be applied it’s necessary for the > camel context to be restarted, but in OSGi environment stopping camel context > means unregistering corresponding OSGi service and I’m not able to start is > again. > > So, is there any way to apply intercept strategy to the camel context without > its restarting? > > Best Regards, > Sergey Zhemzhitsky > > > _______________________________________________________ > CONFIDENTIALITY NOTICE: This email and any files attached to it may be > confidential. If you are not the intended recipient you are notified that > using, copying, distributing or taking any action in reliance on the contents > of this information is strictly prohibited. If you have received this email > in error please notify the sender and delete this email. > -- Claus Ibsen ----------------- www.camelone.org: The open source integration conference. Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen