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 » ReplyToQmgr with Queue Manager Alias

Post new topic  Reply to topic
 ReplyToQmgr with Queue Manager Alias « View previous topic :: View next topic » 
Author Message
GGTrek
PostPosted: Wed Feb 04, 2009 6:02 am    Post subject: ReplyToQmgr with Queue Manager Alias Reply with quote

Newbie

Joined: 04 Feb 2009
Posts: 3

We have defined the following MQ Manager Alias Name:
DEFINE QREMOTE('QMAlias')
DESCR('QUEUE MANAGER ALIAS NAME')
RNAME(' ')
RQMNAME('QMReal')
XMITQ(' ')
REPLACE

Where QMReal is the local queue manager name. The MQ Manager is used by a third party application (that we cannot modify) to communicate with counterparties of our company that require our Queue manager name to be QMAlias. We have noticed that we have the following message header when we send out messages to counterparties:
StrucId : 'MD ' Version : 2
Report : 0 MsgType : 8
Expiry : -1 Feedback : 0
Encoding : 546 CodedCharSetId : 1208
Format : 'MQXMIT '
Priority : 0 Persistence : 1
MsgId : X'414D5120475354324A414E4432202020C425864903410020'
CorrelId : X'414D5120475354324A414E4432202020C425864902410020'
BackoutCount : 0
ReplyToQ : ' '
ReplyToQMgr : 'QMReal'

This is a big issue since counterparties do not know our QMReal name and they end up with a 2087 (Unknown remote QMgr.) error when trying to reply. The third party application always sends us an empty ReplyToQ and ReplyToQMgr and our local Queue Manager fills in the ReplyToQMgr with the local queue manager name instead of the Alias Name.

I know that if we change QMReal name to QMAlias this issue would be solved, but it involves a lot of configuration changes. Is there another way to override the ReplyToQMgr with the QMAlias name?

Thank you
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed Feb 04, 2009 7:06 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Look up Reply-To Queue Alias in the MQ Manuals. It will solve your problem.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
GGTrek
PostPosted: Wed Feb 04, 2009 7:18 am    Post subject: Reply with quote

Newbie

Joined: 04 Feb 2009
Posts: 3

PeterPotkay wrote:
Look up Reply-To Queue Alias in the MQ Manuals. It will solve your problem.


I have already looked at it:
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzae.doc/ic10960_.htm

The problem is that the third party application sends a blank "Reply-to queue name" (if you check the message above the ReplyToQ is ' '), so I don't understand how the Reply-To Queue Alias could work in this case.

Thank you
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Feb 04, 2009 7:28 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

GGTrek wrote:
PeterPotkay wrote:
Look up Reply-To Queue Alias in the MQ Manuals. It will solve your problem.


I have already looked at it:
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzae.doc/ic10960_.htm

The problem is that the third party application sends a blank "Reply-to queue name" (if you check the message above the ReplyToQ is ' '), so I don't understand how the Reply-To Queue Alias could work in this case.

Thank you

Looks like you are having some problems with understanding the request/reply model for its routing part, default routes etc... the intercommunications manual is your friend.

If you want for the remote qmgr to send its stuff to QMAlias and that to be you what you have done is fine. But then YOU need to SET 'QMAlias' as the replyto qmgr on your requests....
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Wed Feb 04, 2009 7:47 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

If Reply Queue is blank, then they are not replying to the Reply To Q and Reply To QM, so who cares what's in Reply To QM?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Feb 04, 2009 7:51 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

PeterPotkay wrote:
If Reply Queue is blank, then they are not replying to the Reply To Q and Reply To QM, so who cares what's in Reply To QM?
He is making his qmgr be recognized as the QMAlias. So he needs to specify a replyto queue on his qmgr and a replyto qmgr of 'QMAlias' on his request.... This goes hand in hand with a default routing on the processing qmgr that will send messages for QMAlias on a channel to QMReal
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Wed Feb 04, 2009 7:54 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

I still don't understand how ReplyToQM will be used if ReplyToQ is blank.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Feb 04, 2009 7:59 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

PeterPotkay wrote:
I still don't understand how ReplyToQM will be used if ReplyToQ is blank.
You got me there. Should have paid attention to that part... Apologies...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
GGTrek
PostPosted: Wed Feb 04, 2009 8:17 am    Post subject: Reply with quote

Newbie

Joined: 04 Feb 2009
Posts: 3

Thanks a lot for the explanations.

I believe that I have only got two solutions then:
1) change QMReal name to QMAlias name and reconfigure the third party app that writes to QMReal
2) ask the third party application vendor to do some "small" dev and fill in either ReplyToQ or ReplyToQMgr
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » ReplyToQmgr with Queue Manager Alias
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.