Re: correlation ID on synchronous message

2010-07-15 Thread sic
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. Tha

Re: correlation ID on synchronous message

2010-07-08 Thread Ivan Pechorin
> 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. Cor

Re: correlation ID on synchronous message

2010-07-08 Thread Gary Tully
The correlation Id is useful when a reply queue is shared by processes or by producers/consumers concurrently and the replies come back out of order. Typically, a queue is used to decouple 'requests for work' from 'work' so the order of 'work' completion is not deterministic, hence the need for a c