[
http://jira.jboss.com/jira/browse/JBMESSAGING-375?page=all ]
Jeff Mesnil updated JBMESSAGING-375:
------------------------------------
Attachment: patch-JBMESSAGING-375.txt
updated Stian's patch for JBoss Messaging 1.4.0 (based on r3190):
- base class is RoundRobinDistributor
- "grouping" round robin algorithm is done in GroupingRoundRobinDistributor
- associated tests are in GroupingRoundRobinDistributorTest
- put test code common to RRDTest and GroupingRRDTest into
SimpleReferenceableReceiver class
- added support to reset bound receiver by setting JMSXGroupSeq to 0
some caveats:
- GroupingRRD's algorithm is brittle and depends on a lot of internals from
RRD which should not be exposed
-> maybe grouping should be handled directly by RRD?
- GroupingRRD is not used by MessagingQueue (still using RRD)
Grouping of messages with JMSXGroupId
-------------------------------------
Key: JBMESSAGING-375
URL:
http://jira.jboss.com/jira/browse/JBMESSAGING-375
Project: JBoss Messaging
Issue Type: Feature Request
Reporter: Tim Fox
Assigned To: Tim Fox
Fix For: 2.0.0 Beta 1
Attachments: jbmessaging-375.patch, patch-JBMESSAGING-375.txt
Original Estimate: 1 week
Remaining Estimate: 1 week
We should add an ability to group messages by JMSXGroupID, so any messages with the same
group id always go to the same consumer on a queue.
This would be useful when having competing consumers on a queue and you want each
consumer to handle all messages with a particular value of JMSXGroupID
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira