camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: fail over does not work with jms???
Date Mon, 11 Jan 2010 14:10:58 GMT
Hi

Please always write which version of Camel you are using?
Each new version is greatly improved over the previous.


On Mon, Jan 11, 2010 at 2:29 PM, yaog <yairogen@gmail.com> wrote:
>
> 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.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
View raw message