If I define a route like this:

                <route id="route1">
                        <from uri="direct:start" />
                        <to uri="bean:compAImpl" />
                        <loadBalance>
                                <camel:failover/>
                                <to uri="bean:compBImpl" />
                                <to uri="bean:compCImpl" />
                        </loadBalance>
                </route>

and comp B throw exception, failing over to C works ok.

how ever, if I define this route:

                <route id="route1">
                        <from uri="direct:start" />
                        <to uri="bean:compAImpl" />
                        <loadBalance>
                                <camel:failover/>
                                <to uri="jms:compB" />
                                <to uri="jms:compC" />
                        </loadBalance>
                </route>


                <route id="route2">
                        <from uri="jms:compB" />
                        <to uri="bean:compBImpl" />
                </route>

                <route id="route3">
                        <from uri="jms:compC" />
                        <to uri="bean:compCImpl" />
                </route>


and compB throw an exception, then the exception is logged but C is not
invoked.

can't fail over recover from failures after consumed by the jms queue?

will adding a transaction manager aid here?
-- 
View this message in context: 
http://old.nabble.com/fail-over-does-not-work-with-jms----tp27110432p27110432.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to