Author |
Message
|
jainvik7 |
Posted: Wed Nov 29, 2006 6:07 am Post subject: Just a doubt |
|
|
Apprentice
Joined: 19 Feb 2006 Posts: 38
|
Is it a good idea to have more than one sender channels polling the same xmitq ? |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Nov 29, 2006 6:08 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
MQ Clustering does it all the time. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Michael Dag |
Posted: Wed Nov 29, 2006 7:59 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
jefflowrey wrote: |
MQ Clustering does it all the time. |
true, but those are cluster sender channels and the clustering mechanism is involved.
how would you trigger the second 'normal' sender channel to activate on a regular xmitq? _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Nov 29, 2006 8:06 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
jainvik7 didn't ask about triggering the channels...
Just using two channels against the same xmitq.
If you're saying you think that, outside of clustering, this is not a good idea... I agree. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Michael Dag |
Posted: Wed Nov 29, 2006 8:12 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
jefflowrey wrote: |
jainvik7 didn't ask about triggering the channels...
Just using two channels against the same xmitq.
If you're saying you think that, outside of clustering, this is not a good idea... I agree. |
I just thought... technically it might work, but not too practical
so I guess we are in agreement _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
Nigelg |
Posted: Wed Nov 29, 2006 8:36 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
This cannot be done, at least not at the same time, because each channel opens the channel MQOO_INPUT_EXCLUSIVE. Only one of the channels sharing the xmitq can run. _________________ MQSeries.net helps those who help themselves.. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Nov 29, 2006 11:06 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Nigelg wrote: |
This cannot be done, at least not at the same time, because each channel opens the channel MQOO_INPUT_EXCLUSIVE. Only one of the channels sharing the xmitq can run. |
It is mainly used by admins in situations where you have multiple paths to the same destination. If the preferred path becomes unavailable you can stop the corresponding channel and start a channel that uses one of the alternate paths. Using the same xmitq allows to not worry about having to shift messages from the xmitq....  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|