Results 1 to 2 of 2

Thread: setConcurrentConsumers not working

  1. #1
    Join Date
    Oct 2007
    Posts
    7

    Default 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. #2
    Join Date
    Jan 2006
    Location
    Nashville, TN
    Posts
    34

    Default

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •