Re: camel route enable/disable based on configuration

2014-03-26 Thread chaij
Thanks! I also found another solution that may benefit other people. Use the route autoStartup attribute to control whether or not to start a route. The attribute value can use a property that will be configured at startup time. -- View this message in context: http://camel.465427.n5.nabble.c

Re: camel route enable/disable based on configuration

2014-03-25 Thread Henrique Viecili
Take a look at Control Bus EIP: http://www.eaipatterns.com/ControlBus.html If you are using Camel 2.11.x, you can use: https://camel.apache.org/controlbus-component.html Henrique Viecili On 25 March 2014 22:32, chaij wrote: > it should be decided at startup time. > Hopefuuly not through jmx o

RE: camel route enable/disable based on configuration

2014-03-25 Thread chaij
it should be decided at startup time. Hopefuuly not through jmx or programming. I am hoping that camel supports conditional configuraion. -- View this message in context: http://camel.465427.n5.nabble.com/camel-route-enable-disable-based-on-configuration-tp5749315p5749337.html Sent from the C

RE: camel route enable/disable based on configuration

2014-03-24 Thread Ravindra.Godbole
Do you want to start/stop routes when camel app comes up or decide at runtime when to stop the route ? You can use JMX to stop a specific route when app is up and running. Regards Ravi -Original Message- From: chaij [mailto:jin.c...@indigoarc.com] Sent: Tuesday, March 25, 2014 10:54 A