Author |
Message
|
neo_revolution |
Posted: Mon May 10, 2004 6:32 am Post subject: COD Clarification !!! |
|
|
Voyager
Joined: 21 Oct 2003 Posts: 80 Location: NJ
|
Hello,
I have a question regarding COD's. We have our Qmgr's setup like this
We receive messages on qMgr1 and there is a remote queue which points to another queue manager gMgr2 where the message is consumed.
If I put a message with a COD option then when is COD sent? I mean from qMgr1 or from qMgr2 after the message is consumed?
As far as I know it is sent after the message is consumed from qMgr2? Let me know.
Thanks. |
|
Back to top |
|
 |
mqonnet |
Posted: Mon May 10, 2004 6:45 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
Directly from the manuals. App prog ref.
"MQRO_COD
Confirm-on-delivery reports required.
This type of report is generated by the queue manager when an application retrieves the message from the destination queue in a way that causes the message to be deleted from the queue
"
Cheers
Kumar |
|
Back to top |
|
 |
JLRowe |
Posted: Mon May 10, 2004 6:49 am Post subject: |
|
|
 Yatiri
Joined: 25 May 2002 Posts: 664 Location: South East London
|
There are 3 confirms:
COA: Sent by QM when message arrives on target queue
COD: Sent by QM when message removed from target queue
PAN: Responsibility of application to produce when message has been successfully processed. |
|
Back to top |
|
 |
neo_revolution |
Posted: Mon May 10, 2004 6:54 am Post subject: |
|
|
Voyager
Joined: 21 Oct 2003 Posts: 80 Location: NJ
|
Thanks for the replies !!! |
|
Back to top |
|
 |
neo_revolution |
Posted: Mon May 10, 2004 9:03 am Post subject: |
|
|
Voyager
Joined: 21 Oct 2003 Posts: 80 Location: NJ
|
One more doubt...
If the messages comes to qMgr1 on to a remote queue which points to qMgr2's local queue, which queue manager is responsible for sending COD.
I understand that the COD is sent when the message is consumed or deleted from the specified queue, what if the specified queue is a remote queue...
Thanks |
|
Back to top |
|
 |
mqonnet |
Posted: Mon May 10, 2004 10:03 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
Neo, i would like to repost my earlier message from the manuals.
"MQRO_COD
Confirm-on-delivery reports required.
This type of report is generated by the queue manager when an application retrieves the message from the destination queue in a way that causes the message to be deleted from the queue
"
This clearly states that COD is generated only when an "application" retrieves the message from the destination queue. In this case, the message does NOT live on the remote queue. And hence cannot be gotten. Which leaves us with the fact that it has to be retrieved only after QMGR1 has successfully routed the message to QMGR2, where the message lands up onto the destination queue.
So to sum up, COD would NOT be generated when the message is on remote queue.
Cheers
Kumar |
|
Back to top |
|
 |
neo_revolution |
Posted: Tue May 11, 2004 10:11 am Post subject: |
|
|
Voyager
Joined: 21 Oct 2003 Posts: 80 Location: NJ
|
When I am putting a message with COD option... the Repot is going to DEAD Letter Queue with error code 2035 not authorized...
Any one have any help regarding this!!! |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue May 11, 2004 10:22 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Please do not ask general MQSeries questions in the WMQI forum. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|