Hi, BTW for doing is completely in Spring you will need to instantiate a Spring based Camel Context as shown below.
Cheers, Ashwin... =================================================== <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd"> <camelContext xmlns="http://camel.apache.org/schema/spring"> <route> <from uri="jms:topic:topic1"/> <from uri="jms:topic:topic2"/> <from uri="jms:topic:topic3"/> <to uri="bean:msgParser"/> <to uri="bean:msgProcessor"/> </route> </camelContext> </beans> ----- --------------------------------------------------------- Ashwin Karpe Apache Camel Committer & Sr Principal Consultant Progress Software Corporation http://fusesource.com http://fusesource.com Blog: http://opensourceknowledge.blogspot.com.com http://opensourceknowedge.blogspot.com --------------------------------------------------------- -- View this message in context: http://camel.465427.n5.nabble.com/Multiple-Context-tp1925788p2806144.html Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.