Posted: Thu May 24, 2012 12:38 am Post subject: XMS - Keeping request/reply together?
Newbie
Joined: 15 Nov 2011 Posts: 6
Hello,
I am having problems correlating the request with the reply. Basically, the source I have right now just picks up the first available reply on the queue, eventhough it might not "belong" to the request just sent.
The correlationID in the reply will be the messageID from the request.
But how do I check the correlationID on the reply? If I have understood correctly, the "consumer.receive(wTime);" line will pick up the message from the queue regardless of correlationID and I haven't found a procedure where I can specify to only pick up messages with specific correlationID.
Any help in solving this would be highly appreciated.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum