activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <tb...@alumni.duke.edu>
Subject Re: Glassfish 3.1.2, ActiveMQ 5.9.0, MDB: Long lasting Message blocks other Messages
Date Fri, 15 May 2015 00:50:37 GMT
Splitting your bean into 4 shouldn't be necessary; give it a shot with a
prefetch size of 1.
On May 14, 2015 2:37 PM, "Elmo" <elmo2010@email.de> wrote:

> Hello Tim,
>
> thanks a lot for your reply.
>
> Yes, a different prefetch size changed the number of waiting messages: the
> smaller the size, the smaller the number of waiters. E.g. prefetch size 20
> made 19 messages waiting, 2 made 1 waiting. A prefetch size 0 had the
> effect
> that no Message was delivered to my MDB.
>
> I think having 4 Consumers instead of 1 Consumer with bean-pool size 4 and
> using prefetch size of 1 would solle the problem, but I would have to
> duplicate my MDB three times, right?
>
> Best regards,
> Marc
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Glassfish-3-1-2-ActiveMQ-5-9-0-MDB-Long-lasting-Message-blocks-other-Messages-tp4696328p4696541.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message