|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Can I use MQ dyanmic queue on Host in this way |
« View previous topic :: View next topic » |
Author |
Message
|
wilsonho3 |
Posted: Mon Mar 05, 2007 12:43 am Post subject: Can I use MQ dyanmic queue on Host in this way |
|
|
Voyager
Joined: 20 Nov 2001 Posts: 98 Location: Hong Kong
|
Hi, all
I want to use dynamic queue this way, need advice to see whether it
is possible or not. Once the transaction is triggered on Host, I create a
dynamic queue and the dynamic queue is waiting response from
different CICS programs. The reply from other CICSs is MQPUT on the
dynamic queue, for example, I am waiting for 5 resposne from other
CICS program. when the dynamic queue is complete receiving the
5 responses, and the complete messages, like R2+R2+R3+R3+R5
as a message and send to the reply to queue. I dont wan't to save anything on the commareas and using the MQ dynamic queue as a
storing area before sending back the messagr to the front-end.
Is it possible to perform something like this. The problem is I dont want
to use a CICS GETMAIN on host to occupy a large area for response
message construction. any good idea to handle this.
thank
wilson |
|
Back to top |
|
 |
Vitor |
Posted: Mon Mar 05, 2007 1:02 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
It's a fairly standard pattern for a requesting application to create a dynamic queue onto which to receive it's replies. If you have 5 replies you'll need to code what happens if you only get 4 in the time available, if 6 turn up, if they turn up in an unexpected order, etc ,etc.
Also you need to watch that the queue doesn't go out of scope with messages on it. If you're creating permanent dynamic queues to avoid this problem, you'll need to create housekeeping procedures to clean up queues which are left behind by exceptional circumstances.
In my experience these exceptional circumstances happen more often than you think.....  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
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
|
|
|
|