activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruce Snyder" <>
Subject Re: How to intercept the creation of ActiveMQConnections?
Date Wed, 03 Sep 2008 15:57:23 GMT
On Wed, Sep 3, 2008 at 9:54 AM, James Strachan <> wrote:
> 2008/9/3 Gary Tully <>:
>> But if you only want AMQ to utilise say 40% of cpu resources (cause it
>> is not the only beast on the box), can I tell my hardware loadbalancer
>> that I only want say 40 connections per broker? If not, then the
>> ability to configure a limit on the number of connections and reject
>> those in excess would be handy.
>> Is there any other way to limit/throttle CPU utilisation with AMQ?
> Though number of connections in no way reflects the cpu usage of a
> broker; so I guess we have to rely on operating systems to do the
> right thing when it comes to playing nice etc. (Did you notice the
> little unix joke at the end of that sentence :)

Nice one, James ;-).

That's correct, but if I create this feature as a plugin to ActiveMQ,
then the number of connections can be limited based on CPU and/or
memory utilization as one of the strategies.

perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"

Apache ActiveMQ -
Apache Camel -
Apache ServiceMix -


View raw message