activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Whaley <jasonwha...@gmail.com>
Subject Re: slow speed sending message
Date Tue, 13 Sep 2011 13:36:58 GMT

> 
> Question - am I right in understanding that flow control will turn on
> automtically when the rate goes over a certain level?  Will it then shut
> off?


See here for PFC:  http://activemq.apache.org/producer-flow-control.html

In short, you'll hit it when you exhaust either the memoryLimit for a destination or the systemUsage
limits for the entire broker.

> Another idea-- I'm using CachingConnectionFactory with 100 sessions.  What
> happens if I use more than those 100 sessions?  I'm wondering if they leak
> somehow.  (I use Spring's JMSTemplate, so I'd assume not, but it's a
> thought).

Any sessions created after you hit your maximum are created and disposed of on demand and
never hit the cache.  
Mime
View raw message