You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Garry <gm...@hotmail.com> on 2008/09/19 19:54:01 UTC
RedeliveryPolicy maximumRedelivers == 0 does not deliver?
Hi,
I've defined a Camel route configured with an error handler that specifies a
redelivery policy with
'maximumRedeliveries' set to 0 and it looks like I'm not getting *any*
delivery to the endpoint. Is this
correct behavior? I would expect maximumRedelivers == 0 to attempt one
delivery and then not perform
any retry on error. Instead, I get no initial delivery and route straight
to my DLC endpoint.
Thanks, Garry
--
View this message in context: http://www.nabble.com/RedeliveryPolicy-maximumRedelivers-%3D%3D-0-does-not-deliver--tp19576919s22882p19576919.html
Sent from the Camel - Users mailing list archive at Nabble.com.
RE: RedeliveryPolicy maximumRedelivers == 0 does not deliver?
Posted by Claus Ibsen <ci...@silverbullet.dk>.
Hi
Thanks for reporting back.
Med venlig hilsen = Kind Regards. It's my default email signature for my current employer.
I haven't bothered checking if Outlook could be configured to use a different signature depending on the receivers = the camel forums.
Med venlig hilsen
Claus Ibsen
......................................
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk
-----Original Message-----
From: Garry [mailto:gmbroth@hotmail.com]
Sent: 21. september 2008 00:00
To: camel-user@activemq.apache.org
Subject: RE: RedeliveryPolicy maximumRedelivers == 0 does not deliver?
Claus,
Thanks, that's most certainly it; I'm using a release of ServiceMix that
bundles
a slightly older version of Camel.
BTW, what's the meaning of "Med venlig hilsen?" Best wishes?
Garry
Claus Ibsen wrote:
>
> Hi
>
> What version of Camel are you using? There have been some changes on the
> 1.5-SNAPSHOT that is related to this.
>
> This is how it is supposed to work:
> -1 = no limit, for ever redelivery + the initial attempt
> 0 = no redelivery, only the initial attempt
> 1 = 1 redelivery + the initial attempt
> 2 = 2 redelivery + the initial attempt
> ...
>
>
> Med venlig hilsen
>
> Claus Ibsen
> ......................................
> Silverbullet
> Skovsgårdsvænget 21
> 8362 Hørning
> Tlf. +45 2962 7576
> Web: www.silverbullet.dk
> -----Original Message-----
> From: Garry [mailto:gmbroth@hotmail.com]
> Sent: 19. september 2008 19:54
> To: camel-user@activemq.apache.org
> Subject: RedeliveryPolicy maximumRedelivers == 0 does not deliver?
>
>
> Hi,
>
> I've defined a Camel route configured with an error handler that specifies
> a
> redelivery policy with
> 'maximumRedeliveries' set to 0 and it looks like I'm not getting *any*
> delivery to the endpoint. Is this
> correct behavior? I would expect maximumRedelivers == 0 to attempt one
> delivery and then not perform
> any retry on error. Instead, I get no initial delivery and route straight
> to my DLC endpoint.
>
> Thanks, Garry
>
> --
> View this message in context:
> http://www.nabble.com/RedeliveryPolicy-maximumRedelivers-%3D%3D-0-does-not-deliver--tp19576919s22882p19576919.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>
>
--
View this message in context: http://www.nabble.com/RedeliveryPolicy-maximumRedelivers-%3D%3D-0-does-not-deliver--tp19576919s22882p19589445.html
Sent from the Camel - Users mailing list archive at Nabble.com.
RE: RedeliveryPolicy maximumRedelivers == 0 does not deliver?
Posted by Garry <gm...@hotmail.com>.
Claus,
Thanks, that's most certainly it; I'm using a release of ServiceMix that
bundles
a slightly older version of Camel.
BTW, what's the meaning of "Med venlig hilsen?" Best wishes?
Garry
Claus Ibsen wrote:
>
> Hi
>
> What version of Camel are you using? There have been some changes on the
> 1.5-SNAPSHOT that is related to this.
>
> This is how it is supposed to work:
> -1 = no limit, for ever redelivery + the initial attempt
> 0 = no redelivery, only the initial attempt
> 1 = 1 redelivery + the initial attempt
> 2 = 2 redelivery + the initial attempt
> ...
>
>
> Med venlig hilsen
>
> Claus Ibsen
> ......................................
> Silverbullet
> Skovsgårdsvænget 21
> 8362 Hørning
> Tlf. +45 2962 7576
> Web: www.silverbullet.dk
> -----Original Message-----
> From: Garry [mailto:gmbroth@hotmail.com]
> Sent: 19. september 2008 19:54
> To: camel-user@activemq.apache.org
> Subject: RedeliveryPolicy maximumRedelivers == 0 does not deliver?
>
>
> Hi,
>
> I've defined a Camel route configured with an error handler that specifies
> a
> redelivery policy with
> 'maximumRedeliveries' set to 0 and it looks like I'm not getting *any*
> delivery to the endpoint. Is this
> correct behavior? I would expect maximumRedelivers == 0 to attempt one
> delivery and then not perform
> any retry on error. Instead, I get no initial delivery and route straight
> to my DLC endpoint.
>
> Thanks, Garry
>
> --
> View this message in context:
> http://www.nabble.com/RedeliveryPolicy-maximumRedelivers-%3D%3D-0-does-not-deliver--tp19576919s22882p19576919.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>
>
--
View this message in context: http://www.nabble.com/RedeliveryPolicy-maximumRedelivers-%3D%3D-0-does-not-deliver--tp19576919s22882p19589445.html
Sent from the Camel - Users mailing list archive at Nabble.com.
RE: RedeliveryPolicy maximumRedelivers == 0 does not deliver?
Posted by Claus Ibsen <ci...@silverbullet.dk>.
Hi
What version of Camel are you using? There have been some changes on the 1.5-SNAPSHOT that is related to this.
This is how it is supposed to work:
-1 = no limit, for ever redelivery + the initial attempt
0 = no redelivery, only the initial attempt
1 = 1 redelivery + the initial attempt
2 = 2 redelivery + the initial attempt
...
Med venlig hilsen
Claus Ibsen
......................................
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk
-----Original Message-----
From: Garry [mailto:gmbroth@hotmail.com]
Sent: 19. september 2008 19:54
To: camel-user@activemq.apache.org
Subject: RedeliveryPolicy maximumRedelivers == 0 does not deliver?
Hi,
I've defined a Camel route configured with an error handler that specifies a
redelivery policy with
'maximumRedeliveries' set to 0 and it looks like I'm not getting *any*
delivery to the endpoint. Is this
correct behavior? I would expect maximumRedelivers == 0 to attempt one
delivery and then not perform
any retry on error. Instead, I get no initial delivery and route straight
to my DLC endpoint.
Thanks, Garry
--
View this message in context: http://www.nabble.com/RedeliveryPolicy-maximumRedelivers-%3D%3D-0-does-not-deliver--tp19576919s22882p19576919.html
Sent from the Camel - Users mailing list archive at Nabble.com.