you can use the autoStartup attribute along with properties to do this...like
this

<route id="foo" autoStartup="{{cool.foo.startup}}">


xiangqiuzhao wrote:
> 
> if my application use route config like :
> 
> <routes>
>     <route1 enable="yes">....</route1>
>     <route2 enable="yes">....</route2>
>     <route3 enable="no">....</route3>
> </routes>
> 
> how to start the route1 and route2, i must control it by java coding?
> 


-----
Ben O'Day
IT Consultant -http://consulting-notes.com

--
View this message in context: 
http://camel.465427.n5.nabble.com/how-to-design-which-routes-be-start-in-my-application-tp4583090p4583710.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to