|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
confused about clustering |
« View previous topic :: View next topic » |
Author |
Message
|
pgorak |
Posted: Fri Apr 04, 2003 3:53 am Post subject: confused about clustering |
|
|
 Disciple
Joined: 15 Jul 2002 Posts: 158 Location: Cracow, Poland
|
According to documentation, the preferable method of handling message affinities in a cluster is to use the MQOO_BIND_ON_OPEN option on the MQOPEN call. The description of how it works seems clear to me, but I'm confused about the very last sentence of the paragraph below:
Note: This is the recommended technique. However, it does not work in a multi-hop configuration in which a queue manager advertises an alias for a cluster queue. Nor does it help in situations in which applications specifically use different queues on the same queue manager for different groups of messages
What does it mean? Can anyone provide an example?
Piotr |
|
Back to top |
|
 |
mqonnet |
Posted: Fri Apr 04, 2003 6:17 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
I can answer your doubt from the note for the 1st question.
In a multi hop config MQOO_BIND_ON_OPEN does not work for the following reason.
Queue resolution takes place on an MQopen call. And in this case if you have an alias queue that is advertised in a cluster which points to a queue(local) that is not local to the qm that this alias queue is hosted on, Binding cannot take place. Because what binding does is sort of forcibly send all messages only to a queue that is local to a qm.
And since queue name resolution resolves in this case to a non-local queue, it will not work.
For the 2nd question, i dont have a definite answer. But here's my theory.
Binding may not have any significance when you have grouped messages that are not going to one queue any ways. The note however is not clear in the sense that all the different queues are local and non-clustered or are they local and clustered. Hence its not easy to interpret.
Hope this helps.
Cheers
Kumar _________________ IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator |
|
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
|
|
|
|