Hi Take a look at route policy, and autoStartup
On Fri, Jun 20, 2014 at 8:56 AM, sakchakravarthi <ajit.kalyan.chakravar...@gmail.com> wrote: > Hi > I am new to camel. I have a scenario i need to make ready routes which can > consume from file or webservce. Now I configured two routes. But finally > only one will be in use so when user provide config details of file as > webservice details were not provided it is giving errors. So Is there any > way that when user say file only file route will be up and it ignore web > service route, Vice versa > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Dynamic-camel-routing-tp5752613.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/