Author |
Message
|
MQ_MQSI_User |
Posted: Mon Jul 29, 2002 10:03 am Post subject: Does MQSI do anything to MsgId |
|
|
Novice
Joined: 11 Jul 2002 Posts: 20 Location: Charlotte, NC
|
I have a req / reply scenario here, and I am wondering if WMQI does anything to the MsgId's that are set by the sending application.
I have an application putting to a req queue, the message goes from one server to the next, through mqsi and then resides on another server on a local queue. At this point Is the MsgId the same as when the initial application set it, or does MQSI move MsgId to CorrelId?
The reason I ask is once the messages it replied back to the initial application it is doing a get based on CorrelId, so it can get the message that is related to it's request.
I am aware that the applications can set MsgId to CorrelId, but I just want to make sure that WMQI is not setting a new MsgId or Moving MsgId to Correlation for me.
I don't think it does but I am experiencing some wierd behavior here, can anyone shed some light? _________________ MQSeries, MQSI |
|
Back to top |
|
 |
Lisa |
Posted: Mon Jul 29, 2002 10:16 am Post subject: MQMD msgid |
|
|
Master
Joined: 07 Jun 2002 Posts: 287 Location: NJ
|
What type of wierd behavior? |
|
Back to top |
|
 |
MQ_MQSI_User |
Posted: Mon Jul 29, 2002 11:10 am Post subject: |
|
|
Novice
Joined: 11 Jul 2002 Posts: 20 Location: Charlotte, NC
|
Well the problem is there are three different applications touching this message becuase the backend is JDEdwards. According to the JDE team, JDE can not perserve the MQ header so what I did was in the compute node Map the MsgId for the message in the inputnode to a tag in the xml <Messageid>, then when the application on the back end gets the message it moves the <MessageId> to the MQMD MsgId on the reply back.
Right now we are not getting the MsgId we are originally sending so I am in trouble shooting mode. And my first question is, 'does WMQI do anything with the Msgid/CorrelId'? If the answer is NO, then I know it is something the the java guys are doing or not doing in their application. _________________ MQSeries, MQSI |
|
Back to top |
|
 |
Lisa |
Posted: Mon Jul 29, 2002 11:59 am Post subject: MsgId |
|
|
Master
Joined: 07 Jun 2002 Posts: 287 Location: NJ
|
Unless you select Create New MsgId on the MQOutPut Node, it should not change. |
|
Back to top |
|
 |
dlamond |
Posted: Tue Jul 30, 2002 4:45 am Post subject: |
|
|
Newbie
Joined: 28 May 2002 Posts: 9 Location: Montreal
|
Are your java guys using JMS?
Kind of remember that the java guys here told me they add no control over the msgid when using JMS. _________________ Daniel Lamond
IBM Certified Specialist MQSeries
IBM Certified Specialist MQSeries Integrator |
|
Back to top |
|
 |
kwelch |
Posted: Thu Aug 01, 2002 8:16 am Post subject: |
|
|
 Master
Joined: 16 May 2001 Posts: 255
|
Hi,
If on the Output Queue you select ReplyToQ instead of QName it may move the the msgid to the correlid and generate a new msgid depending on what options are set.
Karen |
|
Back to top |
|
 |
KSkelton |
Posted: Thu Aug 01, 2002 11:37 am Post subject: |
|
|
Apprentice
Joined: 28 Oct 2001 Posts: 45
|
Like kwelch said, or are you using an MQReply node?
If so, you may need to set the report options in your Compute node before the Reply Node:
SET OutputRoot.MQMD.ReplyToQ = InputRoot.whatever;
SET OutputRoot.MQMD.ReplyToQMgr = InputRoot.whatever;
SET OutputRoot.MQMD.Report = MQRO_PASS_CORREL_ID + MQRO_PASS_MSG_ID; |
|
Back to top |
|
 |
|