You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Cecil Williams <cw...@studentloan.org> on 2007/12/19 18:02:45 UTC

Dead Letter Channel

What happens if the queue defined for the dead letter channel is not
available?
-- 
View this message in context: http://www.nabble.com/Dead-Letter-Channel-tp14420824s22882p14420824.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: Dead Letter Channel

Posted by Cecil Williams <cw...@studentloan.org>.
Great! That was the answer I was hoping for!


James.Strachan wrote:
> 
> On 19/12/2007, Cecil Williams <cw...@studentloan.org> wrote:
>>
>> That the message cannot be delivered to the queue.   I'm not sure what
>> scenario that would be, maybe that the queue is on a different broker and
>> that broker is unavailable.  Or maybe we have set up security on the
>> queues
>> and we didn't get it configured properly.
> 
> If for whatever reason a send to a dead letter channel cannot be made,
> then the transaction will rollback so that the original message could
> not be consumed.
> 
> i.e. under normal circumstances the message is sent to the Dead Letter
> Channel, then the original message is consumed. If the send fails,
> then the consume fails & that will be retried until it works (or until
> the underlying message broker uses its own Dead Letter Channel logic).
> 
> If you're using ActiveMQ you might want to enable retry for ever to
> avoid ActiveMQ using different Dead Letter Channels to your Camel
> routes...
> http://activemq.apache.org/redelivery-policy.html
> 
> 
> -- 
> James
> -------
> http://macstrac.blogspot.com/
> 
> Open Source Integration
> http://open.iona.com
> 
> 

-- 
View this message in context: http://www.nabble.com/Dead-Letter-Channel-tp14420824s22882p14439033.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: Dead Letter Channel

Posted by James Strachan <ja...@gmail.com>.
On 19/12/2007, Cecil Williams <cw...@studentloan.org> wrote:
>
> That the message cannot be delivered to the queue.   I'm not sure what
> scenario that would be, maybe that the queue is on a different broker and
> that broker is unavailable.  Or maybe we have set up security on the queues
> and we didn't get it configured properly.

If for whatever reason a send to a dead letter channel cannot be made,
then the transaction will rollback so that the original message could
not be consumed.

i.e. under normal circumstances the message is sent to the Dead Letter
Channel, then the original message is consumed. If the send fails,
then the consume fails & that will be retried until it works (or until
the underlying message broker uses its own Dead Letter Channel logic).

If you're using ActiveMQ you might want to enable retry for ever to
avoid ActiveMQ using different Dead Letter Channels to your Camel
routes...
http://activemq.apache.org/redelivery-policy.html


-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Re: Dead Letter Channel

Posted by Cecil Williams <cw...@studentloan.org>.
That the message cannot be delivered to the queue.   I'm not sure what
scenario that would be, maybe that the queue is on a different broker and
that broker is unavailable.  Or maybe we have set up security on the queues
and we didn't get it configured properly.


Hiram Chirino wrote:
> 
> what does "not available" mean to you?
> 
> On Dec 19, 2007 12:02 PM, Cecil Williams <cw...@studentloan.org>
> wrote:
>>
>> What happens if the queue defined for the dead letter channel is not
>> available?
>> --
>> View this message in context:
>> http://www.nabble.com/Dead-Letter-Channel-tp14420824s22882p14420824.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> Regards,
> Hiram
> 
> Blog: http://hiramchirino.com
> 
> Open Source SOA
> http://open.iona.com
> 
> 

-- 
View this message in context: http://www.nabble.com/Dead-Letter-Channel-tp14420824s22882p14423015.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: Dead Letter Channel

Posted by Hiram Chirino <hi...@hiramchirino.com>.
what does "not available" mean to you?

On Dec 19, 2007 12:02 PM, Cecil Williams <cw...@studentloan.org> wrote:
>
> What happens if the queue defined for the dead letter channel is not
> available?
> --
> View this message in context: http://www.nabble.com/Dead-Letter-Channel-tp14420824s22882p14420824.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Regards,
Hiram

Blog: http://hiramchirino.com

Open Source SOA
http://open.iona.com