If your external system is a http service, you can do the things like this
from("timer:xxx").loadBalance().roundRobin().to("http://xxx1","http://xxx2","http://xxx3").end().to("mock:end");
If you want to consume the other service like this, you may need to
write a customer producer to access the external service.
On 10/10/10 2:59 AM, tide08 wrote:
Hi William,
In this case I cannot have polling consumer on external system and also it
is not extensible as increase in number of nodes will require creating more
routes.
Can anyone give any input on how I can write create loadbalancer like
component for consumers?
Thanks!
--
Willem
----------------------------------
Open Source Integration: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: http://twitter.com/willemjiang