How do I make Spring JMSListener burst to max concurrent threads? How do I make Spring JMSListener burst to max concurrent threads? multithreading multithreading

How do I make Spring JMSListener burst to max concurrent threads?


Are you still facing this behavior ?Did you read this advice "Pooled Consumers and prefetch" on http://activemq.apache.org/what-is-the-prefetch-limit-for.htmlDid you tried with prefetchSize=0 or 1 ? I think 1 can resolve your problem.If prefetchSize is > 1 maybe you need to decrease the AbortSlowAckConsumerStrategy to lower than default 30s.To have more than 100 threads consuming messages in your case you need more than 1000 messages not consumed and not prefetched in the queue because the prefetchSize is to 10.