File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
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
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Queue up messages based on a field
mdb doesn't catch messages in point2point
putting back into the queue the JMS messages
Locking on multiple simultaneous inserts
Single MDB instane - multiple messages ?
Maintaining single queue for all recievers in jms
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015