A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Node.js in Action
this week in the
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
mdb doesn't catch messages in point2point
Locking on multiple simultaneous inserts
Maintaining single queue for all recievers in jms
putting back into the queue the JMS messages
Single MDB instane - multiple messages ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014