IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

how queue & route are related ?


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
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
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

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Tue Aug 11, 2009 8:00 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts MQ response when MQGET of a stopped q... Java & MQSeries 2
No new posts IOF Output Queue & REXX(?) All Other Mainframe Topics 2
No new posts Related to Unit Testing Testing & Performance 2
No new posts IMS queue causing page through diffic... IMS DB/DC 1
No new posts Strange MNOTE related to BMS using PI... CICS 0
Search our Forums:

Back to Top