activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Attach Exception to message as its dead lettered?
Date Mon, 19 Nov 2007 21:20:22 GMT
On 19/11/2007, James Strachan <james.strachan@gmail.com> wrote:
> On 19/11/2007, m081072 <me@mikehogan.net> wrote:
> > Hi,
> >
> > Please can you tell me if its possible to attach to the message the
> > exception that caused it to be put in the dead letter queue?  What I would
> > like to be able to do is to view the messages in the DLQ and find the root
> > cause of their failures.
>
> Good idea.
>
> I've raised a JIRA - I've started a patch, will try finish it tomorrow...
> https://issues.apache.org/activemq/browse/CAMEL-238

I've just applied a patch if you want to give it a try; the Exchange
should have the CamelCauseException property defined on it when its
receive by the dead letter channel endpoint which you can transform or
format however you wish.
-- 
James
-------
http://macstrac.blogspot.com/

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

Mime
View raw message