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 » IBM MQ API Support » Kindly Help me in my problems !!!

Post new topic  Reply to topic
 Kindly Help me in my problems !!! « View previous topic :: View next topic » 
Author Message
Apurva
PostPosted: Fri Feb 15, 2002 10:29 pm    Post subject: Reply with quote

Newbie

Joined: 14 Feb 2002
Posts: 4
Location: India

Hello Everyone !!!

While using the IBM --> VB sample code for putting messages, I need to capture the msgid and store it and while getting the message, the server sends the message with a Correlation id, which I need to match with the msgid that I have to store. Can anyone please explain me the whole process as no manuals or pdf on IBM is able to guide me also how to store the id and capture the same when it is sent by the server to the client.

Kindly do reply ASAP.............

Thanks ,,
APURVA SHAH
Back to top
View user's profile Send private message Send e-mail MSN Messenger
StefanSievert
PostPosted: Tue Feb 19, 2002 2:03 pm    Post subject: Reply with quote

Partisan

Joined: 28 Oct 2001
Posts: 333
Location: San Francisco

In the requesting appl, the messageId is available *after* the successful MQPUT operation. Just keep the MQMessage object.
In the server appl., the messageId is available *after* the successful MQGET operation. The application then must put this messageID into the correlID of the reply message *before* MQPUTing it.
Meanwhile, the requesting application issued an MQGET (most likely with MQGMO_WAIT and a reasonable wait interval) *after* setting the correlID of the reply message object to the messageID of the request message object.
Check out the Code Repository on this site. It contains C/C++ sample programs for request/reply: http://www.mqseries.net/pafiledb203/pafiledb.php?PHPSESSID=a519b25f5c2a75b28b33b223f641d1f1&action=viewfile&fid=12&id=2
You just have to translate to VB.
I might be able to dig out a VB sample tonight when I am at home.
HTH,
Stefan

_________________
Stefan Sievert
IBM Certified * WebSphere MQ
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 » IBM MQ API Support » Kindly Help me in my problems !!!
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.