camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bvahdat <babak.vah...@swissonline.ch>
Subject Re: Loading two camel context files at start
Date Tue, 06 Dec 2011 09:47:06 GMT
@Michael

Did any of the three approaches I suggested worked out for you? IMHO the
easiest & most elegant way is the third approach, that's:

      
Main.setApplicationContextUri("META-INF/spring/camel-context-1.xml;META-INF/spring/camel-context-2.xml");

so that you don't even have to interact with the Spring-API *directly*, that
however is just a matter of taste.

Babak 

--
View this message in context: http://camel.465427.n5.nabble.com/Loading-two-camel-context-files-at-start-tp5049449p5051580.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message