camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tide08 <sachin2...@yahoo.com>
Subject Loadbalancer for consuming?
Date Thu, 07 Oct 2010 18:36:00 GMT

Not sure if it make sense to use loadbalancer in such context but I need to
consume message from external system which has multiple nodes i.e. multiple
uri's to consume from. I was wondering if camel loadbalancer can be used in
such context. 

<camel:route>
   <camel:loadBalance>
       <camel:roundRobin/>
       <camel:from uri="someuri:1"/>
       <camel:from uri="someuri:2"/>
       <camel:from uri="someuri:3"/>
   </camel:loadBalance>
   <camel:to uri="mock:dead" />
</camel:route>

But it looks like I cannot use "from" within loadbalancer tags? Or is there
a way to accomplish this?

Thanks!
-- 
View this message in context: http://camel.465427.n5.nabble.com/Loadbalancer-for-consuming-tp3203497p3203497.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message