[
https://issues.apache.org/jira/browse/AMQ-7428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Bertram closed AMQ-7428.
-------------------------------
Resolution: Invalid
You should send this to the [ActiveMQ User Mailing
List|https://activemq.apache.org/contact/#mailing].
> How to send same group of messages to one consumer thread
> ---------------------------------------------------------
>
> Key: AMQ-7428
> URL: https://issues.apache.org/jira/browse/AMQ-7428
> Project: ActiveMQ
> Issue Type: New Feature
> Reporter: Bala Konakalla
> Priority: Major
>
> 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
--
This message was sent by Atlassian Jira
(v8.3.4#803005)