On Fri, Feb 3, 2012 at 1:52 AM, tan <[email protected]> wrote: > Thanks for the reply. I've modified it to using recipientList but the end > result is still the same: > > .loadBalance(new > FailoverProcessor()).failover(1,false,false,JMSException.class) > .recipientList(simple("${header.slip}") > > I noticed that the code in the FailoverProcessor is not called at all when > the primary jms queue died. Can the SimpleLoadBalancerSupport be used > together with failover? >
Camel calls getProcessors() when it process a message. But only once. And the failover LB will then use the processors returned from getProcessors() in its failover logic. > -- > View this message in context: > http://camel.465427.n5.nabble.com/Loadbalance-failover-with-recipientList-tp5450056p5452429.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
