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 » IBM MQ API Support » "Twice-removed" queue

Post new topic  Reply to topic Goto page Previous  1, 2
 "Twice-removed" queue « View previous topic :: View next topic » 
Author Message
zpat
PostPosted: Wed Nov 14, 2012 7:05 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

This is MQ 101.

Your program has to connect to the first queue manager. All the connection details for that need to be provided (if using a client type connection).

Your program opens the queue (which happens to be a remote queue definition). Strictly speaking only the queue name is needed for this - but if it requires a QM name you can use the one that you are connected to.

Your program puts to the queue.

MQ automagically sends it to the remote queue manager named in the remote queue definition, using the xmit queue named.

The xmit queue sends it to the intermediate queue manager, which will then forward it onto the final queue manager.

It is a basic MQ principle that you don't need to know (in the application) where the message is going to, it could be a local queue or a remote queue (and it might change later).

However MQ will not allow the application to open a remote queue for input or browse because this operation is illogical.

When your application opens a remote queue definition (for output) - what it is really doing is opening the transmit queue named (or defaulted).
Back to top
View user's profile Send private message
Pringle
PostPosted: Fri Nov 16, 2012 3:11 am    Post subject: Reply with quote

Novice

Joined: 12 Nov 2012
Posts: 15

Yessssssssssssssssssss

Specifying the MQC.MQOO_OUTPUT option resolved it. Instead of getting colds, you will all be blessed with a 1000 virgins in heaven!!

Thank you all for your help, especially with your patience with MQ 101 questions!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ API Support » "Twice-removed" queue
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.