activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sic <>
Subject correlation ID on synchronous message
Date Thu, 08 Jul 2010 10:32:58 GMT

I give thought to the correlation ID concept on the JMS Specification.

When using synchronous queue messages, we should have JMSReplyTo header
which has a destination of the producer.

After sending, the producer waits for reply message to reach its temporary

In this format, it is only the consumer of that message that can send the
reply message by JMSReplyTo header.

So it's fine without correlation ID because the producer waits for reply
message not on the static queue but on the temporary queue registered in the
JMSReplyTo header.

And that's all in my thought.

Then, What's the purposes for using the correlation ID?

I have heard that using this is for relating sending message to its reply

But it doesn't need to relate between them unless we using it in the
application layer.

Although it's not about activemq, I try asking because I can't find any
appropriate forum for that issue.

I hope anybody informs me of this concept.


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message