This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Multi threaded JMS AQ queue listener Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Multi threaded JMS AQ queue listener" Watch "Multi threaded JMS AQ queue listener" New topic
Author

Multi threaded JMS AQ queue listener

Dave Barnes
Greenhorn

Joined: Jun 10, 2013
Posts: 5
Hi

i was just wondering, I am trying to set multiple listeners of a JMS AQ queue on a single server, do I need to create separate threads for each listener, or would something like the below ensure more than one message can be processed at a time:

For: 0 to NumListeners
Create listener queue
Create Queue Receiver
Create listener class
Set the listener class on the queue receiver
Start the queue listener

Thanks,
 
 
subject: Multi threaded JMS AQ queue listener
 
Similar Threads
JNDI setup for MyEclipse and TomCat
Duplicate JMS message processing with multiple MessageListener threads
JMS conceptual doubt
Sun JMS example P-to-P droped msg's
WAS5.02 and OracleAQ as Generic JMS Provider