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 » Clustering » CLWL use queue

Post new topic  Reply to topic Goto page Previous  1, 2
 CLWL use queue « View previous topic :: View next topic » 
Author Message
mqjeff
PostPosted: Thu Apr 09, 2009 7:44 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

If there is only one L1, then it doesn't matter what CLWLUSEQ is set to.

If there is more than one L1 on multiple qmgrs, it gets more complicated than it appears you think if CLWLUSEQ is different.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Apr 09, 2009 8:13 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9472
Location: US: west coast, almost. Otherwise, enroute.

From your original post:
Quote:
If we set CLWLUSEQ paratmeter as 'Local' on a queue or a queue manager, then the messages will deliver to local instance (local to application) of queue.

For the CLWLUSEQ attribute to take effect, there must be a local instance of a queue AND at least one remote cluster queue instance.

If you specify CLWLUSEQ(QMGR) is specified, the behavior is as specified by the CLWLUSEQ parameter of the queue manager definition.

If you specify CLWLUSEQ(ANY), the qmgr treats the local queue as another instance of the cluster queue for distribution.

For CLWLUSEQ(LOCAL) the local queue will be the only target of the MQPUT.

Quote:
Question is, if the application wants to put message in local queue then what is the need to define a queue (with same name and shared to cluster) on another queue manager under same cluster? The application will never use the cluster instance of local queue.
First, the application doesn't get to decide, the system administrator sets the attributes for all applications use of the queue. Once you set the CLUSTER attribute of a queue, you are telling the qmgr that there might be multiple instances of the resolved qname. See above.

Quote:
And if we have to use default value i.e. 'any' at queue manager or queue level, then what is the use of this property?
To tell the qmgr clustering distribution software how to go about distributing messages for this queue. See above.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
sumit
PostPosted: Thu Apr 09, 2009 8:42 am    Post subject: Reply with quote

Partisan

Joined: 19 Jan 2006
Posts: 398

Indeed a helpful post.

In links and docs, I read the same definition many times. But when I was reading your post, I got a different and clearer perspective of CLWLUSEQ property.

Thanks bruce2359 for presenting the definition this way. I can sleep happily now.
_________________
Regards
Sumit
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » Clustering » CLWL use 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.