Re: remove route from camel context

2014-03-11 Thread Claus Ibsen
Hi Yes that is expected as endpoints can be shared / in use by others. You can remove them using the api on CamelContext if you are sure its not needed anymore. On Tue, Mar 11, 2014 at 5:24 PM, fradj zayen wrote: > Hi, > I'm using camel 2.12.1. > using below configuration > > > >

remove route from camel context

2014-03-11 Thread fradj zayen
Hi, I'm using camel 2.12.1. using below configuration once the context is started if I execute the following statements camelContext.stopRoute("route1"); camelContext.removeRoute("route1"); I can see that: - The route is stopped then removed from the conte