[jboss-user] [JBoss Messaging] - Grouping and ordering messages on queue

damian.sinczak do-not-reply at jboss.com
Mon Aug 17 09:16:32 EDT 2009


I didn't read whole JMS specification, so please don't shout if this question is stupid.

Let’s say I have 9 messages that I want to send on queue. And those messages can belong to three different groups: red group, green group and blue group.

RED_GROUP  = [message1, message2, message3]
GREEN_GROUP = [message4, message5, message6]
BLUE_GROUP = [message7, message8, message9]

What I want to achieve is to assure that only one message from group is picked up by message driven bean and other messages (from the same group) wait for previous one to process. I don’t care about ordering groups of messages I only care for messages in groups.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249932#4249932

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249932

More information about the jboss-user mailing list