|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to set MsdId and CorelationID for a particular message |
« View previous topic :: View next topic » |
Author |
Message
|
ManishsAmit |
Posted: Wed Sep 24, 2003 11:01 pm Post subject: How to set MsdId and CorelationID for a particular message |
|
|
Newbie
Joined: 24 Sep 2003 Posts: 8 Location: India(Mumbai)
|
I wanted to know how should i set MSGID and CorelationID for a particular message which I will send to MQSeries server and how to retrieve the same (MSGID and Corelation ID) response from the server using GET program.
We are using VB programs and the server is MQ AS/400. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Sep 25, 2003 6:03 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You create a message object, and set the Message ID and Correlation ID properties of that object, and set the data of the object, and pass that object to the MQPut command.
You get back a message object from the MQGet command, and ask it for the Message ID and Correlation ID properties. Or you create a message object, set the Message ID and Correlation ID properties on it, set the GetMessageOptions to search for message ID or Correlation ID, and give the message object to the MQGet command.
This is, no pun intended, basic stuff. It's the same concepts with VB as it is with any other MQ application. There's a manual on working with VisualBasic. I think the title has 'COM' in the name. Check the MQSeries Library. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|