ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Using JMS, How do I receive a message with a correlid?

Post new topic  Reply to topic
 Using JMS, How do I receive a message with a correlid? « View previous topic :: View next topic » 
Author Message
asalema
PostPosted: Mon Jul 07, 2003 5:23 pm    Post subject: Using JMS, How do I receive a message with a correlid? Reply with quote

Apprentice

Joined: 05 May 2003
Posts: 35

Hi all

I am using jms classes QueueReceiver and QueueSender to send/receive messages.

I want to correlate the received message to the message that I sent but the QueueReceiver.receive() method does not allow me to do that.

I can read the Msgid from the message that I sent but how do I tell the QueueReceiver.receive() method to receive only the message with a particular correl ID?

For plain MQ Java code, you can simply set the correlid in the get method and that would do the trick, but how do I do it for jms?

Regards,
Amr
Back to top
View user's profile Send private message
EddieA
PostPosted: Tue Jul 08, 2003 9:47 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

http://publibfp.boulder.ibm.com/epubs/html/csqzaw11/csqzaw1137.htm#Header_293

And

http://publibfp.boulder.ibm.com/epubs/html/csqzaw11/csqzaw112u.htm#HDRJMS77SE

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Using JMS, How do I receive a message with a correlid?
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.