You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Tim Bain <tb...@alumni.duke.edu> on 2017/09/01 04:58:43 UTC

Re: Slow consumers not detected with ?consumer.prefetchSize=1

Does it work for prefetchSize=2, just not 1? (Sorry, I won't be able to try
running the code till sometime next week, otherwise I'd just try it myself
rather than ask.)

Tim

On Thu, Aug 31, 2017 at 7:40 AM, art.licis <ar...@gmail.com> wrote:

> I'm sorry, I sent a wrong link; Unit test is here:
> https://github.com/art-licis/activemq-jmx-monitor/blob/
> master/src/test/java/today/jvm/amq/ActiveMQJmxMonitorTest.java
>
> If you need a completely independent unit test, that's possible.
>
>
>
> --
> Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-
> f2341805.html
>

Re: Slow consumers not detected with ?consumer.prefetchSize=1

Posted by "art.licis" <ar...@gmail.com>.
Yep, for 2, 3, 4, ... (i.e., smaller than producer produces ahead); for 1 it
doesn't work. In my test there's a constant at the beginning of a class,
currently 2. Changing to 1 breaks the test. 

- Art



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html