camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From efender <>
Subject Re: Saving original destination when sending to DLQ
Date Tue, 09 Dec 2008 17:53:21 GMT

Got it.  I need to over write my "in" instead of setting my out.  Works
perfectly.  Now my DLQ has complete knowledge of the original failed
message, including Camel properties and JMS headers.

	public void process(Exchange exchange) throws Exception {
		Message in = exchange.getIn();
		Object body = in.getBody();
		DeadLetterWrapper wrapper = new DeadLetterWrapper();

efender wrote:
> Ok that didn't work.  My DeadLetterPersistanceProcessor is still getting a
> BlockUserRequest object instead of a DeadLetterWrapper.  I swear it worked
> at some point.

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message