|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Multiple COAs |
« View previous topic :: View next topic » |
Author |
Message
|
ctsaltaf |
Posted: Sun Oct 16, 2005 12:31 pm Post subject: Multiple COAs |
|
|
Newbie
Joined: 27 Mar 2005 Posts: 7
|
Hi,
We have following architecture.
Queue manager A -> Queue manager B -> Queue manager C
Queue manager A is on mainframe
Queue manager B is on Unix
Queue manager C is also on Unix
Main legacy systems which generate messages are on mainframe and main tracking applicaiton which tracks if messages have reached queue manager C is also on mainframe. Queue manager C also has got lot of applications but very less to my knowledge but a message send to Queue manager C can hop on and hop off across multiple queues.
What probel i am having is when i send messages from Queue manager A with MQ header set such as to get COA, I do not get COA form queue manager B since its cluster of remote queues, but i do get COAs from Queue mananager C, delivered to me via Queue manager B, but i get multiple COAs from queue manager C.
Can anyone tell me internal architecture of MQ which generates COAs, is it like COA is generated when message is hit on a local queue. If reporting options are not changed and if one application takes the message from one queue and puts it on another queue will that mean that another COA will get generated. Does MQ does not take care of ensuring only one COA delivery.
We have been struggling to find out what is the cause of this problem. I do not think that its a bug in MQ series, might be some version conflict, but do not know what.
Any help would be highly appreciated
regards
ctsaltaf |
|
Back to top |
|
 |
wschutz |
Posted: Sun Oct 16, 2005 1:36 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
From the book:
"A confirmation of arrival (COA) report message. This indicates that the message has reached its target queue. It is generated by the queue manager."
MQ will only generate one COA message per original message. But consider that if you have an appllication on QMGR C that gets a message, and the Report option on that message is COA, then that application uses that same message descriptor (with the COA and same ReplyToQ/QMGR) to MQPUT to another (or even the same) queue, when THAT message arrives on the intended queue, you'll get another COA. And so on.....
So, if you only want 1 COA, have that application set the Report option to MQRO_NONE before doing a mqput. _________________ -wayne |
|
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
|
|
|
|