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 IndexWebSphere Message Broker SupportReading from Cluster queue using MQInput node

Post new topicReply to topic
Reading from Cluster queue using MQInput node View previous topic :: View next topic
Author Message
immbtechie
PostPosted: Thu Oct 04, 2018 6:49 pm Post subject: Reading from Cluster queue using MQInput node Reply with quote

Newbie

Joined: 09 Apr 2015
Posts: 6

We have a requirement to read from a cluster queue but the catch is it does not exist on assigned Queue Manager(Local QM). I am able to read from it the using Client Connection. But I do not understand why i am not able to read from cluster queue without client connection.

Cluster queue is visible to Local QM as we can put message to this queue using MQOutput node and no Client connection is required in this case.
Back to top
View user's profile Send private message
timber
PostPosted: Fri Oct 05, 2018 5:03 am Post subject: Reply with quote

Sentinel

Joined: 25 Aug 2015
Posts: 889

One of the rules of MQ is that you can only mqget from a local queue.
https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_9.1.0/com.ibm.mq.dev.doc/q026240_.htm
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Oct 05, 2018 5:08 am Post subject: Re: Reading from Cluster queue using MQInput node Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 25361
Location: Ohio, USA

immbtechie wrote:
We have a requirement to read from a cluster queue but the catch is it does not exist on assigned Queue Manager(Local QM). I am able to read from it the using Client Connection. But I do not understand why i am not able to read from cluster queue without client connection.



You need to spend more time reading about clusters.

What you call a "cluster queue" is just a normal local queue that has been shared in a cluster. It's still hosted on a given queue manager (or queue managers) and is subject to the normal rules around a local queue, i.e. you can't read from it unless you're connected (by one means or another) to it's hosting queue manager.

immbtechie wrote:
Cluster queue is visible to Local QM as we can put message to this queue using MQOutput node and no Client connection is required in this case.



You can put a message to a remote queue that's visible to your local queue manager but you wouldn't expect to be able to read from it would you?

Or maybe you would, in which case you need to spend more time reading about point to point messaging as well.

The only thing that behaves as you expect (directly reading from a queue hosted by a different queue manager) is a queue sharing group, which is specific to the z/OS implementation of MQ. If you're on a mainframe, you can convert your cluster to a QSG and fix your problem.

But I suspect that if you were on a mainframe, you'd have a QSG not a cluster already
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
immbtechie
PostPosted: Sat Oct 06, 2018 11:17 pm Post subject: Reply with quote

Newbie

Joined: 09 Apr 2015
Posts: 6

Thank u all for your reply.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportReading from Cluster queue using MQInput node
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.