You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by BenDahl <be...@soptim.de> on 2013/09/24 10:38:26 UTC
PrefetchSize not working as expected
Hi all,
we're experiencing some unexpected behavior in ActiveMQ 5.7.0.1 regarding
the PrefetchSize. When a client connects to the message queue, all messages
are pushed immediately to the client. However, the default is set to 1 in
our case, since we've patched the ../transport/stomp/ProtocolConverter.java
in order to get around a known bug. This bugfix works, but the expected
behavior of AcitveMQ, only pushing one message at a time, is not what we're
currently seeing. Am I missing something? Do we still need to modify the
configuration file? Do we need to set another parameter? Is there another
bug that we're not aware of?
Thanks in advance!
--
View this message in context: http://activemq.2283324.n4.nabble.com/PrefetchSize-not-working-as-expected-tp4671785.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: PrefetchSize not working as expected
Posted by Christian Posta <ch...@gmail.com>.
do you have a quick test case?
post your configs broker/clients and might as well post your patch too.
On Tue, Sep 24, 2013 at 1:38 AM, BenDahl <be...@soptim.de>wrote:
> Hi all,
>
> we're experiencing some unexpected behavior in ActiveMQ 5.7.0.1 regarding
> the PrefetchSize. When a client connects to the message queue, all messages
> are pushed immediately to the client. However, the default is set to 1 in
> our case, since we've patched the ../transport/stomp/ProtocolConverter.java
> in order to get around a known bug. This bugfix works, but the expected
> behavior of AcitveMQ, only pushing one message at a time, is not what we're
> currently seeing. Am I missing something? Do we still need to modify the
> configuration file? Do we need to set another parameter? Is there another
> bug that we're not aware of?
>
> Thanks in advance!
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/PrefetchSize-not-working-as-expected-tp4671785.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
--
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta