How to send same group of messages to one consumer thread

2020-02-28 Thread subbu.kobra
Hi, We are using active mq in our project we have a requirement that group of messages which belongs to one Group should be consumed by one consumer thread. for instance, we have 3 (M1, M2, M3) messages belongs person A and 3 (M4, M5, M6) messages belongs person B. our requirement is: all messag

Re: "queuePrefetch" policy doesn't seem to be working properly

2020-02-27 Thread subbu.kobra
Thanks for the quick response. I am using ActiveMQ 5.15.10 and we are connecting to activemq using MuleSoft which is running on 3.9.0 runtime version. I have set the queue prefetch at the connection level (not at the broker) like below. tcp://localhost:61616?jms.prefetchPolicy.queuePrefetch=1 I

"queuePrefetch" policy doesn't seem to be working properly

2020-02-27 Thread subbu.kobra
Hi, We are using ActiveMQ and MuleSoft in our project. We connect to ActiveMQ from MuleSoft. As per the project requirement, we are using JMXGroupId and Queueprefetch polcy. We have set Queueprefetch to 1 at the connection broker url like below and number of consumers are set to 2 tcp://localh