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 message in context: http://activemq.2283324.n4.nabble.com/Glassfish-3-1-2-ActiveMQ-5-9-0-MDB-Long-lasting-Message-blocks-other-Messages-tp4696328p4696551.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.