Charles Moulliard wrote:
> 
> How have created your camelContext ?
> 

The first route reads form a activemq queue. It receives the xml file and
create a processor giving him the message and its camelcontext.
So i do not need to create another camelcontext:

DynamicRouteHandler dynamicRouteHandler=new
DynamicRouteHandler(this.getContext(), configProp);
from(queue).process(dynamicRouteHandler);

Hope i'm clear enough.
Thanks for your time.

--
View this message in context: 
http://camel.465427.n5.nabble.com/loadRoutesDefinition-and-jaxb-index-tp4428835p4429064.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to