A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Threads and Synchronization
Queue up messages based on a field
Joined: Jan 13, 2009
May 22, 2012 11:47:32
I have a number of threads delivering messages to my app.
Each message is basically an Object with an id.
I need to create a single queue for messages related to that id.
i.e. each queue will only contain Objects with the same ID.
Any advice/code samples appreciated.
Joined: Jan 03, 2004
May 22, 2012 12:02:46
Sounds like you want a
I agree. Here's the link:
subject: Queue up messages based on a field
Locking on multiple simultaneous inserts
Single MDB instane - multiple messages ?
putting back into the queue the JMS messages
Maintaining single queue for all recievers in jms
mdb doesn't catch messages in point2point
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014