camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: camel route enable/disable based on configuration
Date Tue, 25 Mar 2014 05:39:39 GMT
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.



-----Original Message-----
From: chaij []
Sent: Tuesday, March 25, 2014 10:54 AM
Subject: camel route enable/disable based on configuration

Is it possible to enable/disable camel route based on external properties?

For example, if I want to enable/disable a feature. I can create an external property file.
At deployment time, by change the property value, I can control the camel route to support
the change.

Something like a "if" statement in the camel-context.xml file using Spring DSL.

View this message in context:
Sent from the Camel - Users mailing list archive at

This e-mail and any files transmitted with it are for the sole use of the intended recipient(s)
and may contain confidential and privileged information. If you are not the intended recipient(s),
please reply to the sender and destroy all copies of the original message. Any unauthorized
review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or
any action taken in reliance on the contents of this e-mail is strictly prohibited and may
be unlawful.

View raw message