Hmm, don't know why the original mail message text is no being posted here
but only the attachment,
but anyway here it is again:

Given a topic SOURCE and a divert which forwards a message M to a queue
TARGET.
Consumer fails to process M and M is being send to DLQ.
 
If you now retry M from DLQ it is not send to TARGET but you'll get
AMQ222196: Could not find binding ...
And even worse the message is lost afterwards...
 
My suspecion is, that the message properties are not correct regarding
_AMQ_ORIG_ADDRESS and _AMQ_ORIG_QUEUE.
Is: _AMQ_ORIG_ADDRESS=<Address from SOURCE>, _AMQ_ORIG_QUEUE=TARGET
Should be:  _AMQ_ORIG_ADDRESS=<Address FROM TARGET>, _AMQ_ORIG_QUEUE=TARGET
 
Attached you'll find a testcase "testRetryDivertedMessage" which
demonstrates the problem.
 
Can this be fixed? a) Retry should be possible. b) If not do not remove
message.

Br, Archibald



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Reply via email to