camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: Loadbalancer for consuming?
Date Sun, 10 Oct 2010 03:53:18 GMT
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

Mime
View raw message