-
Feb 25th, 2008, 12:46 PM
#1
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
-
Feb 26th, 2008, 03:52 AM
#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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules