Hi This is not supported. The list of endpoints is static. You can write your own custom load balancer though.
On Mon, Jun 30, 2014 at 8:24 AM, Minh Tran <[email protected]> wrote: > Hi > > I'd like to have a failover route where the list of failover routes are > dynamic. My intention is to store this list in a database and be able to > control the list of fail overs at runtime. > > <from uri="direct:start"/> > <loadBalance> > <failover/> > > <!-- not sure what goes here? --> > </loadBalance> > > According to this > http://mail-archives.apache.org/mod_mbox/camel-users/201202.mbox/%3ccagb5ynmsdf2cnpdbr1yu2bqskhvgwcy1ujkdjoau21unek7...@mail.gmail.com%3E > > I should use a dynamic router but I don't see how this would work. How do I > detect failed/successful routes so I know when to stop the dynamic router? > Thanks > > Minh -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/
