How to Retain the Message header ID

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to Retain the Message header ID

msamueldcosta
Hi,

I want to use the same Message Header ID generated in Queue 1 to Queue 2.
Can you please tell me how to achieve this in ActiveMQ?

*Scenario:*

1. Queue 1 message was not processed by ESB bus due to some failure
2. We will be using Queue 2 to post the message again after fixing it with
the same Message Header ID created in Queue 1

*Queue 1 (Process):*
Message Header ID : ID:XYZ-1234-1555664319032-4:2:1:1:1

*Queue 2 (Re-process):*
Message Header ID : ID:XYZ-1234-1555664319032-4:2:1:1:1

Many Thanks,
Raj



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-f2368404.html