camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmland <qiancheng...@gmail.com>
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:transacted></camel:transacted> 
         <camel:process ref="testProcess"></camel:process>
         <camel:to uri="WMQ:TestQ2?disableReplyTo=true"></camel:to> 
   </camel:route> 

<camel:errorHandler id="deadLetterErrorHandler"
	type="DeadLetterChannel" deadLetterUri="WMQ:DEADQ?disableReplyTo=true"
	useOriginalMessage="true">
	<camel:redeliveryPolicy maximumRedeliveries="2"
		redeliveryDelay="100" />
	</camel:errorHandler>
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: http://camel.465427.n5.nabble.com/I-want-to-add-extra-info-to-header-when-message-deliver-to-deadletter-tp5504059p5504059.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message