Results 1 to 2 of 2

Thread: ConcurrentConsumer property and JMX

  1. #1

    Default 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. #2

    Default

    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.

Posting Permissions

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