camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cappa Roberto <>
Subject LoadBalancing to a dynamic list of endpoints
Date Wed, 21 Jul 2010 11:06:36 GMT

I need to loadBalance with failover to a list of final endpoints that can be dynamically calculated,
so I cannot use ".to()" after the failover clause
I've tryed in this way, using the recipient list:

                .process(new Processor() {
                    public void process(Exchange exc) throws Exception {
                .failover(-1, true, true)

But it doesn't work, because the recipient list is not used in round-robin way.

Any idea?

View raw message