Is it possible to define a Camel route with multiple from(), i.e. consume from multiple endpoints?
Issue
- Is it possible to define a Camel route that consumes from multiple different endpoints?
- Can a Camel route definition start with multiple from() statements?
- Will a Camel route like the following work?
<route id="test-route" >
<from uri="file:data"/>
<from uri="http://www.google.com"/>
<from uri="activemq:queue:incoming"/>
<to uri="direct:invoke"/>
</route>
Environment
- JBoss Fuse 6.x
- Camel 2.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
