I already gave prefetch size 1 a try - then only one message at a time is
delivered, the next message gets not delivered until the current is
acknowledged. So this is the worst case with one consumer - all other
messages wait for the long lasting message before getting processed.
--
View this m
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
Hello,
I've got a MessageDrivenBean, running in Glassfish 3.1.2, listening to an
ActiveMQ 5.9.0 Queue. When a Message is processed and needing a long time,
other messages wait for processing.
Test scenario: Sending a big message (needing approx. 30 minutes to process)
and 250 small messages while