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 IBM MQ Support » Where are my messages?

Post new topic  Reply to topic Goto page Previous  1, 2
 Where are my messages? « View previous topic :: View next topic » 
Author Message
jefflowrey
PostPosted: Wed Nov 07, 2007 10:26 am    Post subject: Reply with quote

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
View user's profile Send private message
PeterPotkay
PostPosted: Wed Nov 07, 2007 11:15 am    Post subject: Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Wed Nov 07, 2007 11:26 am    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » General IBM MQ Support » Where are my messages?
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.