Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

how queue & route are related ?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
View previous topic :: :: View next topic  
Author Message
i_at_forum

New User


Joined: 29 Dec 2005
Posts: 10

PostPosted: Tue Aug 11, 2009 2:47 pm    Post subject: how queue & route are related ?
Reply with quote

Hi,
I need clarification about one basic concept about MQ Series.

How is queue & route related?
At the time of opening an MQ Connection the route name will be specified.
This returns a context-handle that is a pointer to a memory block where more information about the queue is stored.
The context-handle defines to which queue the msg will be put to.

So, a route can be associated with more than 1 queue.
Also, a queue can have multiple Put routes but only single Get route.

Am I correct?


Please reply.
Back to top
View user's profile Send private message

Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 992
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Tue Aug 11, 2009 8:00 pm    Post subject:
Reply with quote

I'd say your terminology is all wrong.

When you MQCONN , you specify the QMgr name. When you MQOPEN, you specify a Queue name. The queue may have multiple aliases, both PUT and GET which can be used to acces the underlying actual queue.

If the resolved queue is a local queue, there is no routing, the message stays on the local QMgr. For remote queue definitions, the alias points to a transmission queue which specifies the route to the hosting QMgr.

You can PUT to local and remote queues but only GET from a,local queue.

Garry.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Route a product's job to specific lpar vasanthz All Other Mainframe Topics 9 Thu Mar 02, 2017 2:22 am
No new posts SQL Order By related question Joseph K Thomas DB2 8 Fri Mar 18, 2016 12:53 pm
No new posts JCL sort related Mani453 DFSORT/ICETOOL 13 Sun Dec 20, 2015 1:04 pm
No new posts Query related to inserting an auto po... Gopalakrishnan V DB2 4 Fri Dec 18, 2015 12:09 am
No new posts CA-7 queue reallocation Kamil Tluczek CA Products 4 Thu Sep 17, 2015 12:44 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us