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 » Point to point

Post new topic  Reply to topic
 Point to point « View previous topic :: View next topic » 
Author Message
jim
PostPosted: Mon Sep 29, 2014 8:16 am    Post subject: Point to point Reply with quote

Voyager

Joined: 26 Nov 2013
Posts: 94

How can we send messages from QM1 to QM2 with out defining the remote definition and defining xmitq with same name as remote qmgr.

Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Sep 29, 2014 8:18 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

When an application issues an MQPUT, the application can include two pieces of information. The ObjectQueueName and the ObjectQueueManager name.

Both of these pieces of information go through a Name Resolution process, each and every time the message is Put.

This allows for the scenario you describe.
Back to top
View user's profile Send private message
jim
PostPosted: Mon Sep 29, 2014 8:25 am    Post subject: Reply with quote

Voyager

Joined: 26 Nov 2013
Posts: 94

mqjeff wrote:
When an application issues an MQPUT, the application can include two pieces of information. The ObjectQueueName and the ObjectQueueManager name.

Both of these pieces of information go through a Name Resolution process, each and every time the message is Put.

This allows for the scenario you describe.



Thanks a lot...
But how the name resolution work in this case.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Mon Sep 29, 2014 10:20 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

You need a QM Alias Queue that matches the name of the Destination QM that your app is using on the MQOPEN / MQPUT1.

That QM Alias queue resolves to the XMITQ, and so the XMITQ can be named whatever you want.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
jim
PostPosted: Mon Sep 29, 2014 10:49 am    Post subject: Reply with quote

Voyager

Joined: 26 Nov 2013
Posts: 94

PeterPotkay wrote:
You need a QM Alias Queue that matches the name of the Destination QM that your app is using on the MQOPEN / MQPUT1.

That QM Alias queue resolves to the XMITQ, and so the XMITQ can be named whatever you want.


Ok. No need of XMITQ with same name of remote queue.
For reply message also no need of XMITQ with same name of QMGR
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Sep 29, 2014 10:50 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Not necessarily.

The documentation is helpful on this subject.
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 » Point to point
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.