camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bonnahu <>
Subject How to programatically add a route to ClassPathXmlApplicationContext?
Date Thu, 15 Aug 2013 03:33:25 GMT
Hi everyone,
I want to add a new route to an ClassPathXmlApplicationContext
programatically.  Like the code below,
after the springContext is created, can we add a new route to the 
springContext?  Is there a solution?

String filename = "META-INF/spring/camel-context.xml";
AbstractXmlApplicationContext springContext = new

thanks in advance!

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message