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 » Remote qmgr name and xmitq name must match ?

Post new topic  Reply to topic
 Remote qmgr name and xmitq name must match ? « View previous topic :: View next topic » 
Author Message
HenriqueS
PostPosted: Fri Mar 05, 2010 1:40 pm    Post subject: Remote qmgr name and xmitq name must match ? Reply with quote

Master

Joined: 22 Sep 2006
Posts: 235

I had an error that is not very well documented (2 google hits only!), called MQ_UNKNOWN _DEF_XMIT_Q while trying to establish a sender-receiver channel with a business partner.

This error shows up in the DLQ reason descriptors for the messages sent from my side to the partner (the messages went straight to the partner DLQ).

I solved this by advising my partner to create an queue manager alias named as my xmitq name and pointing ('remote queue manager' attribute) to her real qmgr name.

I still not realize what really happened...does the remote qmgr name and my xmitq name (the one attached to my sender channel) must match ? I never noticed this...
Back to top
View user's profile Send private message
mvic
PostPosted: Fri Mar 05, 2010 1:47 pm    Post subject: Re: Remote qmgr name and xmitq name must match ? Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

Hi HenriqueS, can I recommend you correct the reasoncode in your post to say MQRC_... not MQ_... which will help people later who search the forums.

Check out this link to the description for that reasoncode: http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/topic/com.ibm.mq.amqzao.doc/fm13720_.htm


Last edited by mvic on Fri Mar 05, 2010 2:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Mar 05, 2010 1:52 pm    Post subject: Re: Remote qmgr name and xmitq name must match ? Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

HenriqueS wrote:
I still not realize what really happened...does the remote qmgr name and my xmitq name (the one attached to my sender channel) must match ? I never noticed this...


It is documented.

If the remote queue definition does not explicitly name a transmission queue then the queue manager will try to find a queue with the same name as the remote queue manager. If that fails, it will try and use the default transmission queue for the local queue manager.

So your partner could have equally solved the problem by specifying a transmission queue.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
HenriqueS
PostPosted: Fri Mar 05, 2010 2:20 pm    Post subject: Re: Remote qmgr name and xmitq name must match ? Reply with quote

Master

Joined: 22 Sep 2006
Posts: 235

My remote queue definition that points to the partner is set with a transmission queue (let´s say QM.123) defined locally in my qmgr and referenced by my sender channel.

The same remote queue definition is set also with a remote qmgr name called 'QM.123'.

But in the partner side the qmgr name differs from QM.123. That´s why I asked them to create the qmgr alias in their side to point 'QM.123' to their real qmgr name.

Maybe if I did left blank the remote qmgr name attribute in my remote queue definition this would not happen and they would not have to create a qmgre alias in their side?

Vitor wrote:
HenriqueS wrote:
I still not realize what really happened...does the remote qmgr name and my xmitq name (the one attached to my sender channel) must match ? I never noticed this...


It is documented.

If the remote queue definition does not explicitly name a transmission queue then the queue manager will try to find a queue with the same name as the remote queue manager. If that fails, it will try and use the default transmission queue for the local queue manager.

So your partner could have equally solved the problem by specifying a transmission queue.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Mar 05, 2010 2:35 pm    Post subject: Re: Remote qmgr name and xmitq name must match ? Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

HenriqueS wrote:
The same remote queue definition is set also with a remote qmgr name called 'QM.123'.


Why is this not the name of the queue manager the target queue lives on? Why is this QM.123 not the partner's queue manager name? That is what the field is for if you look at the documentation. You could still quote the transmission queue name of QM.123 if that's how the message reaches that queue manager. In this way the message would arrive properly addressed and no alias is needed.

HenriqueS wrote:
Maybe if I did left blank the remote qmgr name attribute in my remote queue definition this would not happen and they would not have to create a qmgre alias in their side?


No, it would just look for a queue manager called blank.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Sat Mar 06, 2010 6:22 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

on a QREMOTE definition the RQMNAME must match the name of the Qmgr on the other end or there must be a QMgr Alias on the other end or there must be a Transmission Queue with that name on the other end...

The name of the transmission Queue on your end if named on both QREMOTE and CHANNEL is totally irrellevant and can be named anything...

but why did you set the RQMNAME to something different then the name on the other end?
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Remote qmgr name and xmitq name must match ?
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.