Thanks for reporting back with that info, and I'm glad you figured it out.
Tim
On Fri, Mar 4, 2022, 4:25 PM Bindu Wavell
wrote:
> Reporting back, the magic incantation was to pass a JVM arg `-
>
> Dspring.activemq.broker-url=tcp://broker1:61616?jms.prefetchPolicy.queuePrefetch=1`
> in addition
Your first and third URIs should work, so maybe this is something specific
to DefaultJmsListenerContainerFactory()? I don't have experience using it,
but an answer on
https://stackoverflow.com/questions/9224/spring-jms-listener-container-concurrency-attribute-not-working
lists 3 ways to set pre