Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Multi threaded JMS AQ queue listener

 
Dave Barnes
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic