How do I get an specific "JMSMessageID" from the ActiveMQ Queue? I mean, imagine that a client sends a request to the queue, gets processed and its waiting for his response (from a Response Queue, lets say).
In other words, the client is listening to the response queue. Now he wants HIS response to be returned.
As far as i've read there could be a possibility of getting it using a correlationId or messageId.
So i imagine there could be a way to set and ID to the request and the response to then be filtered by it. Right?
Haven't found much help from the Mule Documentation so far. Only the basics.
How can this be achieved?
Thanks.
request-response
interaction over a JMS endpoint, using a temp queue, if you use therequest-reply
routing message processor then the response will be consumed from the response queue and correlated with the request on the correlation ID. – David Dossot