|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Use of CLWLUSEQ(LOCAL) |
« View previous topic :: View next topic » |
Author |
Message
|
sree470 |
Posted: Thu Oct 15, 2009 4:27 pm Post subject: Use of CLWLUSEQ(LOCAL) |
|
|
 Newbie
Joined: 09 Apr 2009 Posts: 5
|
Hi,
I understand that if we make CLWLUSEQ(LOCAL) for a cluster queue, all messages put using that queue manager will be stored in that queue. Though there are other cluster queues with same name in different managers messages won't flow to them.
Instead of defining a cluster queue CLWLUSEQ(LOCAL), I can define a local queue (not cluster queue).
So what is the use of CLWLUSEQ(LOCAL)?
Actually I don't see use of CLWLUSEQ. If I want messages to be local I define a local queueu. If I wanted distribution, I define a cluster queue.
Can some one provide a practical scenario? |
|
Back to top |
|
 |
sree470 |
Posted: Thu Oct 15, 2009 4:37 pm Post subject: Example |
|
|
 Newbie
Joined: 09 Apr 2009 Posts: 5
|
Let me explain a bit more before everyone jumps to conclusions about my understanding.
Queue manager Qm1 of Host H1 and Qm2 of H2 are part of cluster CL1.
1:
Cluster queue test1 defined on QM2.
Put message on H1 for queue test1. e.g.:- amqsput test1 Qm1 - executed on H1
Messages went to test1 of Qm2.
2:
Local queue test1 defined on Qm1.
Put message on H1 for queue test1.
Messages went to test1 of Qm1.
3:
Changed test1 of Qm1 to cluster queue CLWLUSEQ(local)
Put messages on H1 for queue test1.
Messages went to test1 of Qm1.
What should I do "3" instead of "2"? |
|
Back to top |
|
 |
Mr Butcher |
Posted: Thu Oct 15, 2009 10:04 pm Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
because maybe other application connected to other queuemanagers want to put to test1 on QM1 too. then you need it to be in the cluster.
however, you are right, from a "local" point of view a cluster queue with CLWLUSEQ(LOCAL) is the same as a non clustered, local queue.
the more intersting part is the CLWLUSEQ(ANY), which enables you to take the local cluster queue into account for cluster workload algorithm. I think CLWLUSEQ(LOCAL) was created to make you able to work "the old way", as some application design may rely on this. _________________ Regards, Butcher |
|
Back to top |
|
 |
sree470 |
Posted: Fri Oct 16, 2009 9:20 am Post subject: Better understanding |
|
|
 Newbie
Joined: 09 Apr 2009 Posts: 5
|
Thanks.
Now I think I understand it better.
If I want my queue to get messages equally along with other cluster queues, I define it as cluster queue.
Also when I put messages to this queue using local QM and I want them to be consumed by only my local application, then I make it CLWLUSEQ(LOCAL). |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|