|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
replyid/corrid |
« View previous topic :: View next topic » |
Author |
Message
|
vandana |
Posted: Mon Dec 03, 2001 8:02 pm Post subject: |
|
|
Acolyte
Joined: 01 Dec 2001 Posts: 74
|
I've just started working with MQSeries on java on nt 4.0.
I'm not able to understand the concept of the diff types of requets
and the relation between mess id and corr id.i tried some sample codes
but could not get the logic clearly.
the docs states that if i have a message of the type request and
i specify a replytq and replytoqmanager .now if i put a mess in a que say
a/c no
then in reply i shud get the a/c details.
how do i achieve this programatically ?
if anyone could just give the logic i would work on it.
|
|
Back to top |
|
 |
bower5932 |
Posted: Tue Dec 04, 2001 2:45 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
The MessageId and CorrelationId are a couple of field in the Message Descriptor (MQMD). They allow you to match request messages with reply messages. The convention is to send a message over with the message id set. You then send back your reply so that the correlation id equals the incoming message id. I thought that there were some samples in the Software Repository.
[ This Message was edited by: bower5932 on 2001-12-04 14:49 ] |
|
Back to top |
|
 |
vandana |
Posted: Wed Dec 05, 2001 12:23 am Post subject: |
|
|
Acolyte
Joined: 01 Dec 2001 Posts: 74
|
what is a software repository?
i did not get an appropriate example
any where.
could u just tell me the link.
|
|
Back to top |
|
 |
bduncan |
Posted: Thu Dec 06, 2001 10:29 am Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
Vandana,
The software repository he is referring to is part of this site. If you go to http://www.mqseries.net, on the main page you should see a link that says "Software Repository" Similary, from the message forum area (where you are right now), you can click on the link called "Code Repository" in the top right hand corner. This will take you to a part of the site where you can download sample programs that illustrate MQSeries concepts, like MsgId/CorrelId for instance...
_________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
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
|
|
|
|