camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmland <>
Subject I want to add extra info to header when message deliver to deadletter
Date Wed, 22 Feb 2012 04:00:45 GMT
my xml file like this:     
 <camel:route errorHandlerRef="deadLetterErrorHandler" > 
        <camel:from uri="WMQ:TestQ?disableReplyTo=true"></camel:from> 
         <camel:process ref="testProcess"></camel:process>
         <camel:to uri="WMQ:TestQ2?disableReplyTo=true"></camel:to> 

<camel:errorHandler id="deadLetterErrorHandler"
	type="DeadLetterChannel" deadLetterUri="WMQ:DEADQ?disableReplyTo=true"
	<camel:redeliveryPolicy maximumRedeliveries="2"
		redeliveryDelay="100" />
I want to put the uri "WMQ:TestQ?disableReplyTo=true" as a jms head property
when the message  deliver to the deadletter queue.Or add the uri to the
orginalMessage body before deliver to deadletter.
what could i do ,any suggestion?

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

View raw message