This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths 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 Head First Android 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,
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Multi threaded JMS AQ queue listener
 
It's not a secret anymore!