Author |
Message
|
carolhara |
Posted: Thu Jan 03, 2008 4:34 am Post subject: COD, COA & DLQ |
|
|
Acolyte
Joined: 02 Oct 2007 Posts: 56
|
What I´m trying to do is very simple: send a message from a QM to another getting cod and coa messages.
I get cod and coa messages but the message I´m sending ends up in the dead letter queue.
The names of the queues are correct... everything seems to be ok so what could be wrong?
Thanks. |
|
Back to top |
|
 |
bower5932 |
Posted: Thu Jan 03, 2008 4:59 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
Did you check the reason code of the message on the DLQ to see why it got put there? |
|
Back to top |
|
 |
carolhara |
Posted: Thu Jan 03, 2008 6:09 am Post subject: |
|
|
Acolyte
Joined: 02 Oct 2007 Posts: 56
|
Yes. 2087 unknown remote queue manager that asks me to check the names of the objects.
They´re fine. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Jan 03, 2008 6:14 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
So, it's telling you that it can't find the queue manager.
I.e., the route to the destination qmgr where the COA/CODs should be delivered. I.e., the ReplyToQmgr on the original message. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Jan 03, 2008 6:56 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
jefflowrey wrote: |
So, it's telling you that it can't find the queue manager.
I.e., the DEFAULT route to the destination qmgr where the COA/CODs should be delivered. I.e., the ReplyToQmgr on the original message. |
@ carolhara
For more information about routing and default routes check the intercommunications manual _________________ MQ & Broker admin |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Jan 03, 2008 10:04 am Post subject: |
|
|
Guest
|
Quote: |
Yes. 2087 unknown remote queue manager that asks me to check the names of the objects. They´re fine. |
What this means is that the message you sent arrived on a queue manager that was not the one specified in the transmission queue header.
Take a look at your remote queue definition (DEFINE QR) on the sending queue manager. The Remote Queue Manager Name (RQMNAME) field must exactly match the name of the queue manager on the receiving side. Remember, object names in MQ are case-sensitive. |
|
Back to top |
|
 |
carolhara |
Posted: Fri Jan 04, 2008 5:32 am Post subject: |
|
|
Acolyte
Joined: 02 Oct 2007 Posts: 56
|
The manual sugests the name of the transmission queue to be the same as the queue manager. That´s what I did and now it´s working! |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Jan 04, 2008 7:48 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
carolhara wrote: |
The manual sugests the name of the transmission queue to be the same as the queue manager. That´s what I did and now it´s working! |
The manual suggests the need for a default route to the replyto queue manager.
One of the ways to do that is to have the xmitq have the same name as the qmgr.
The other way is to have a qmgr alias setup. (See intercommunications manual -- multihop & qmgr alias)
 _________________ MQ & Broker admin |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Jan 04, 2008 7:54 am Post subject: |
|
|
Guest
|
ReplyToQueue and ReplyToQueueManager names must be resolved on the requesting (sending) queue manager; AND the ReplyToQueueManager name must match the transmission queue name of the replying queue manager. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Jan 04, 2008 7:57 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Bruce,
You mean it is not enough if the replyto QMGR is resolved through a qmgr Alias?? _________________ MQ & Broker admin |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Jan 04, 2008 8:34 am Post subject: |
|
|
Guest
|
Quote: |
You mean it is not enough if the replyto QMGR is resolved through a qmgr Alias?? |
A definition on the sending side must exist to successfully resolve both names or the MQPUT will fail. A qmgr alias satisfies this requirement. |
|
Back to top |
|
 |
|