Am sorry, Its my mistake. I am creating new camel context's every time,
instead of adding routes to the existing Camel context. 

I am creating new default camel context every time:

CamelContext context = new DefaultCamelContext();
context.addRoutes(new FTPRouteBuilder(context, channelId, fromUri, toUri));

Any advice for me to add routes to the existing context ? I am able to see
some documentation on loading routes from XML file but not using API's. 

Thanks
Guru
gnanaguru.com



--
View this message in context: 
http://camel.465427.n5.nabble.com/Duplicate-Camel-routes-tp5740090p5740101.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to