Re: Prevent FailedToCreateRouteException to cause application stop

2015-11-26 Thread Claus Ibsen
Yeah the routes are prepared during startup so it depends what the problem is. You can add the routes using the java api, using addRoutes if you want to add them one by one, and ignore any problems. Though it does smell that you have a system where you do not care if some part of it do not work.

Re: Prevent FailedToCreateRouteException to cause application stop

2015-11-25 Thread Brossard
Doesn't Camel try to resolve endpoint even if route isn't autostarted ? If not, how can i start my route(s) only when my application's context is started? Thx Arnaud -- View this message in context: http://camel.465427.n5.nabble.com/Prevent-FailedToCreateRouteException-to-cause-application-sto

Re: Prevent FailedToCreateRouteException to cause application stop

2015-11-25 Thread Claus Ibsen
Mark all routes to not auto startup, and then start them yourself one by one from some Java code etc. On Wed, Nov 25, 2015 at 3:23 PM, Brossard wrote: > Hi, > > I am currently using Camel 2.16 in a web application, starting it with a > *ContextLoaderListener* in my *web.xml*. > Is there a way to