|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Swich Direct MQ call to remote MQ call-Msg sequence disturbd |
« View previous topic :: View next topic » |
Author |
Message
|
DTechBuddy |
Posted: Mon Jun 20, 2011 6:53 am Post subject: Swich Direct MQ call to remote MQ call-Msg sequence disturbd |
|
|
Novice
Joined: 05 May 2009 Posts: 20
|
An application makes direct Mainframe call.
Here the application directly puts message on A queue of mainframe queue manager (MQM), it gets triggered by transaction Z, and sends response to B queue on MQM.
Now, we want to route their calls via the Remote queue manager (RQM).
So, we will have :-
Message fired at queue C (Queue Remote) on RQM pointing to A (Queue Local) on MQM, and triggered by transaction Z, finally pur response at queue D (Queue Remote) on MQM pointing to B (Queue Local) on RQM.
Now here's the issue description :-
When this application fires the message, it actually internally gets fired as a set of two messages : X Bytes Header and Y Bytes payload.
The transaction program at the Mainframe is expecting these messages in exact sequence, i.e. Header first and Payload later.
If the sequence is messed up, then it throws an error message.
1. We set the trigger off at the A queue and saw (using MQ Explorer) that sequence is coming accurate.
2. If I set the trigger off, and allow messages to pile up, and again set the trigger on, then Mainframe transaction picks all the messages in exact sequence and we get valid response. Now, if we continue our testing, again it starts throwing the error response, till I don't set the trigger off.
3. The Message Delivery Sequence on A queue is FIFO, same in Xmit queue.
Any suggestions on where to look further ? ??
My concern is the sequence of messages.
Thanks in advance.
Last edited by DTechBuddy on Mon Jun 20, 2011 7:46 am; edited 2 times in total |
|
Back to top |
|
 |
DTechBuddy |
Posted: Mon Jun 20, 2011 6:56 am Post subject: |
|
|
Novice
Joined: 05 May 2009 Posts: 20
|
Also, to add...
We are using MQ V6.0.2.10 on Remote (Distributed) side.
And MQ V7.0.1 on Mainframe side.
Thanks. |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Jun 20, 2011 9:08 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9471 Location: US: west coast, almost. Otherwise, enroute.
|
This subject has been discussed here many, many times. The APR and/or APG manual has a section that documents 'order of message retrieval'. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Jun 20, 2011 12:39 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Make your retrieval of the data portion as a get with wait....
Make sure you set up a qmgr alias on the MF pointing to the distributed qmgr.
This will allow for dynamic created reply queues with non persistent messages...
Save trigger messages on an error queue if you did not receive any data messages. This will allow for later processing, once the data messages have been chased down ...
Have fun  _________________ MQ & Broker admin |
|
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
|
|
|
|