aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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,
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Multi threaded JMS AQ queue listener
 
Similar Threads
WAS5.02 and OracleAQ as Generic JMS Provider
JMS conceptual doubt
JNDI setup for MyEclipse and TomCat
Duplicate JMS message processing with multiple MessageListener threads
Sun JMS example P-to-P droped msg's