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 as ServiceMix / Karaf to add this interceptor in all camel apps so you dont have to add that to each camel app individually. Though the true dynamic behavior is a goal of 3.0. On Mon, Aug 12, 2013 at 4:37 PM, bpinto <[email protected]> wrote: > 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 archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
