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: Redelivery in Loadbalancer
Date Wed, 24 Jun 2009 10:58:48 GMT
On Tue, Jun 23, 2009 at 10:25 AM, akuhtz <andreas.kuhtz@siemens.com> wrote:

>
> Hi,
>
> I'm trying to configure redelivery in the loadbalancer but I don't get the
> expected result.
>
> What I want to do is something like this:
>
> ----> loadbalancer +----> route A (with maximumRedelivery=2)
>                   |       +----> call endpoint
>                   |       +----> call endpoint (redelivery: 1)
>                   |       +----> call endpoint (redelivery: 2)
>                   +----> route B (with with maximumRedelivery=2)
>                           +----> call endpoint
>                           +----> call endpoint (redelivery: 1)
>                           +----> call endpoint (redelivery: 2)
>
>
>
> I've attached a project with the configuration and it works as expected for
> the routeA (means the message is redelivered 2 times) but when routeB is
> called the configured endpoint is only called once and no redelivery
> occurs.
>

Ah maybe there is a glitch in the failover load balancer. Let me see if I
can reproduce a simpler unit test in camel-core.




>
>
> The configuration applicationContext-loadbalancer.xml is used by the
> testcase GatewayLoadBalancerTest and in the log I see that redelivery works
> as expected on the first route but the not on the second. I'm not sure if
> this is a configuration problem or a bug in camel.
>
>
> I use the latest trunk of Camel 2.x.
> http://www.nabble.com/file/p24161904/camel-failover-problem.zip
> camel-failover-problem.zip
> --
> View this message in context:
> http://www.nabble.com/Redelivery-in-Loadbalancer-tp24161904p24161904.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message