|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
maxchannelinstances |
« View previous topic :: View next topic » |
Author |
Message
|
anan |
Posted: Tue Mar 25, 2014 9:19 am Post subject: maxchannelinstances |
|
|
Novice
Joined: 24 Sep 2013 Posts: 11
|
Say 'x' is the current number of instances of a channel running in a Qmgr. Can x be stored as a curdepth of a queue ?
If yes, how to link the queue and the channel , so that x determines the current number of channel instances running.
MQ7 and Aix is the OS |
|
Back to top |
|
 |
Vitor |
Posted: Tue Mar 25, 2014 10:23 am Post subject: Re: maxchannelinstances |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
anan wrote: |
Say 'x' is the current number of instances of a channel running in a Qmgr. Can x be stored as a curdepth of a queue ? |
If you mean "number of client channels", no and why would you want to?
anan wrote: |
If yes, how to link the queue and the channel , so that x determines the current number of channel instances running. |
If what you actually want is to have the same number of processing applications (which would all open client channels) running as there are messages currently on a queue then yes you can achieve this.
But you don't want to. Consider what would happen in your AIX machine if 5,000 messages are suddenly dropped onto the queue and 5,000 instances of the application (with 5,000 channel) suddenly opened. What would likely happen quite quickly?
Hint: the answer contains the words "out", "memory", "of", "crash", "server", "fired" & "you" but not in that order. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
gbaddeley |
Posted: Tue Mar 25, 2014 2:55 pm Post subject: Re: maxchannelinstances |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
anan wrote: |
Say 'x' is the current number of instances of a channel running in a Qmgr. Can x be stored as a curdepth of a queue ?
If yes, how to link the queue and the channel , so that x determines the current number of channel instances running.
MQ7 and Aix is the OS |
This is a very strange suggestion. What is your design requirement? There is probably a way of meeting the requirement using normal MQ design patterns. _________________ Glenn |
|
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
|
|
|
|