activemq-users mailing list archives

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

Oh, now I see. 
I thought 'synchronous' means that a producer send only one message in order
not to disorder a request.

I also didn't think synchronous producer in MOM can send multiple requests
simultaneously because of misunderstanding the sequence of messages should
be ordered strictly.

Thank you so much for two helpful comments.


Ivan Pechorin wrote:
>> 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.
> It's fine without correlation ID as long as the requesting side
> (producer) waits for reply before sending next request.
> Correlation ID allows to avoid this limitation: the requesting side
> can send multiple requests, then wait for the replies and match these
> using correlation ID.

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

View raw message