Announcement Announcement Module
Collapse
No announcement yet.
setConcurrentConsumers not working Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • setConcurrentConsumers not working

    hi,

    I am trying to increase the no of listeners in DefaultMessageListenerContainer and have set setConcurrentConsumers to 5. but from the logs I can see that only 1 listener (inboundMessageListener-1) is processing the messages. Can someone pls help me if I need to set anything else to get the other listener reading in paralell ?

  • #2
    Isn't inboundMessageListener-1 the name of your DefaultMessageListenerContainer? There will only be one container, but if you check out the code, you will see that the DefaultMessageListenerContainer can use multiple AsyncMessageListenerInvokers, based on your concurrentConsumers setting.

    Comment

    Working...
    X