I have a following requirement. 
<route> 
                        <from uri="jms:topic:topic1"/> 
                       <to  uri="bean:msgParser"/> 
                       <to  uri="bean:msgProcessor"/> 
</route> 

<route> 
                        <from uri="jms:topic:topic2"/> 
                       <to  uri="bean:msgParser"/> 
                       <to uri="bean:msgProcessor"/> 
</route> 
<route> 
                        <from uri="jms:topic:topic3"/> 
                       <to uri="bean:msgParser"/> 
                       <to uri="bean:msgProcessor"/> 
</route> 
. 
. 
. 
. 
. 
<route> 
                        <from uri="jms:topic:topicN"/> 
                       <to  uri="bean:msgParser"/> 
                       <to  uri="bean:msgProcessor"/> 
</route> 
N= No. of configured topics. All the above route are independent of each
other and parsing and processing would be daone in different threads. 
I know above thing can be achieved in Java DSL using a for loop. I would
like to know if the same can be achived using spring xml. 

Thanks in advance. 
-- 
View this message in context: 
http://camel.465427.n5.nabble.com/Multiple-Sources-tp1924844p1924844.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.

Reply via email to