Announcement Announcement Module
Collapse
No announcement yet.
ConcurrentConsumer property and JMX Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • ConcurrentConsumer property and JMX

    Hi, i have a problem with DefaultMessageListenerContainer . I want to change the concurrentConsumer property dynamically using JMX. Initially, the property is set at 1. Later, I change the property calling the method "setConcurrentConsumer(int)" with the value 3, but nothing occurs. The consumer consumes 1 message at a time.
    What are the methods that I need to call? Stop() and Start(), initilize(), ...?

    Thanks, Anselmo

  • #2
    Landmark 1st post. Not done it dynamically, but I set maxConcurrentConsumers as well. and it worked after that they appeared to be coupled.
    The number of concurrentConsumers is the number of threads that travel through the bean not the number of instances of that bean so be careful with your threading.

    Comment

    Working...
    X