ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » Multiple COAs

Post new topic  Reply to topic
 Multiple COAs « View previous topic :: View next topic » 
Author Message
ctsaltaf
PostPosted: Sun Oct 16, 2005 12:31 pm    Post subject: Multiple COAs Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Sun Oct 16, 2005 1:36 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Multiple COAs
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.