camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From selezovikj <>
Subject Multiple Camel Routes in Spring
Date Wed, 22 Oct 2008 11:38:12 GMT

How can I define multiple routes in Spring ? 
Logically, they should be in the same context and I just define different
<route> elements: 

<camelContext id="camel"
			<from uri="jms:topic:LoggingTopic"/>
			<to uri="bean:msgParser"/>
                        <from uri="bean:msgParser"/>
                        <to uri="bean:otherBean"/>

I know that in this case I don't need two separate routes, since I am only
In the Java DSL I would do the camel routing like this: 


Then I have another <from> element:

What would be the equivalent configuration in Spring ?

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

View raw message