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 messages belongs to Person A should be consumed by
Consumer thread 1 and all messages belongs to Person B should be consumed by
consumer thread 2.

Based on the ActiveMQ documentation and per our understanding, we have used
JMXGroupId concept in activemq. For instance, we have set JMSXGroupId as
"123" for all messages (M1, M2, M3) belongs to Person A and "234" for all
messages (M4, M5, M6) belongs to Person B.

with JMXGroupId, in some cases, all messages beongs to Person A & B (M1, M2,
M3, M4, M5 , & M6) are going to same consumer thread 1.

But in  our requirement it should be going to two different threads.

Can anyone help me how to achieve this requirement?

Thanks,
Bala



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Reply via email to