| |
|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
| Where are my messages? |
« View previous topic :: View next topic » |
| Author |
Message
|
| jefflowrey |
Posted: Wed Nov 07, 2007 10:26 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Again, if DEFPSIST on QR.C is not "YES", then amqsput will create NP messages.
And the qmgr will discard.
If an app tries to put persistent messages to QR.C, then messages will either go to DLQ or app will get a bad RC. _________________ I am *not* the model of the modern major general. |
|
| Back to top |
|
 |
| PeterPotkay |
Posted: Wed Nov 07, 2007 11:15 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7723
|
First you say this:
| Quote: |
Queue Manager QMA connected to Queue Manager QMB
Queue Manager QMB connected to Queue Manager QMC
We are using the multi hoping to send messages from Queue Manager
QMA to Queue Manager QMC. This way, messages have to pass through Queue Manager QMB.
|
then you say this
| Quote: |
Queue Manager QMA
RQueue : QR.C
Remote Queue Name : QL.C
Remote Queue Manager Name : QMC
When we define a Transmission Queue named QMC
|
Are you sending the message from QMA to QMB to QMC? Or are you sending it from QMA directly to QMC?
QMA to QMB to QMC
Your MQPUT on QMA works. The message goes to QMB via the QMA.QMB channel. When the message gets to QMB and it can't find a path to QMC, the receiver MCA for the QMA.QMB channel will put the message to QMB's DLQ assuming QMB has a DLQ defined and QMB is told to use it. It don't matter if the message is persistent or not. It WILL go to the DLQ on QMB.
QMA to QMC
You attempt an MQPUT to a remote q def on QMA, the defintion is what you said:
RQueue : QR.C
Remote Queue Name : QL.C
Remote Queue Manager Name : QMC
QMA in this case will look for an XMITQ called QMC, or a QM Alias called QMC, or for a default XMITQ. If it can't find any of them, your MQPUT will fail. QMA will never accept the message in the first place. Your message is still inside your program. Its not lost, it was never born to begin with. _________________ Peter Potkay
Keep Calm and MQ On |
|
| Back to top |
|
 |
| bruce2359 |
Posted: Wed Nov 07, 2007 11:26 am Post subject: |
|
|
Guest
|
| Quote: |
Queue Manager QMA
RQueue : QR.C
Remote Queue Name : QL.C
Remote Queue Manager Name : QMC |
You need to add xmitq(QMB) to your QR.C definition. This will cause messages destined for QMC with a brief hop through QMB to put messages on QMBs xmitq.
You also need to read the MQ Intercommunications manual for a discussion of transmission queue headers and multi-hopping. |
|
| Back to top |
|
 |
|
|
|
|
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
|
|
|
|