RE: Getting list of contexts or getting context by name

2015-04-21 Thread Gustav Sinder
] Sent: den 16 april 2015 03:32 To: users@camel.apache.org Subject: Re: Getting list of contexts or getting context by name I just assume the context means Camel Context, am I right? If you create the Camel Context you need to manage it yourself. I don’t think it is possible to look up the other

Getting list of contexts or getting context by name

2015-04-15 Thread Gustav Sinder
Hi, I'm working on a solution where I dynamically setup/remove routes based on external configuration. So far so good, it works good, a manager route handles this just good. A thought would be to place the dynamic routes in another context. I can create new contexts from within the Java

Re: Getting list of contexts or getting context by name

2015-04-15 Thread Willem Jiang
I just assume the context means Camel Context, am I right? If you create the Camel Context you need to manage it yourself. I don’t think it is possible to look up the other Camel Context from the route which only knows about the CamelContext holds it. There are some components can only be used