Announcement Announcement Module
Collapse
No announcement yet.
How to manage threads with javax.jms.MessageListener Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to manage threads with javax.jms.MessageListener

    Hi,

    I have a simple Java program that uses Spring JMS to consume messages.
    I have created one message listener container SimpleMessageListenerContainer with the class org.springframework.jms.listener.SimpleMessageList enerContainer.
    I receive many messages on the same queue.I would like to be able to process received messages in parallel, for example to have 10 threads available for processing.

    What's the default behaviour, are there many threads started ? How to configure or modifiy the number of threads? Is it linked to the number of JMS sessions? Is there a thread dedicated for each JMS session ? How to manage these technical parameters ?
    Thanks.
Working...
X