Re: Enable/disable Intercept strategy at runtime

2013-08-12 Thread Claus Ibsen
This is a goal in Camel 3.0 to allow dynamic interceptors to be added/removed at runtime. On Mon, Aug 12, 2013 at 4:10 PM, bpinto brianpin...@hotmail.com wrote: HI, I am looking for a way to add interceptstrategy to a camel context during runtime after the camel context has started.

Re: Enable/disable Intercept strategy at runtime

2013-08-12 Thread bpinto
Thanks Claus, With the current version though, is it achievable only through camelcontext restarts? Thanks, Brian -- View this message in context: http://camel.465427.n5.nabble.com/Enable-disable-Intercept-strategy-at-runtime-tp5737154p5737160.html Sent from the Camel - Users mailing list

Re: Enable/disable Intercept strategy at runtime

2013-08-12 Thread Claus Ibsen
Yeah you would need to implement your own interceptor that is capable of enabling / disabling other interceptors at runtime, if you want dynamic behavior without camel context restarts. Also there is a new Container SPI in 2.12 org.apache.camel.spi.Container Which can be used in containers such

Re: Enable/disable Intercept strategy at runtime

2013-08-12 Thread bpinto
Thanks Claus that was helpful. Beats having to restart the context. -- View this message in context: http://camel.465427.n5.nabble.com/Enable-disable-Intercept-strategy-at-runtime-tp5737154p5737178.html Sent from the Camel - Users mailing list archive at Nabble.com.