-
Jan 15th, 2010, 04:12 AM
#1
Change the concurrentConsumers of DMLC during runtime
Hello everybody,
how do I change the number of concurrent consumers during runtime?
I have exposed a bean via JMX which has a reference to an instance of a DMLC (org.springframework.jms.listener.DefaultMessageLi stenerContainer). When I just set the value of concurrentConsumers (setConcurrentConsumers) the value gets changed (I see this in the debugger) but DOES NOT cause the number of consumers to actually change (I monitor the queue in WLS AdminConsole). I also tried invoking the stop() and start() methods after setting to the new value but this did not help either.
What would be the correct way to do this?
Thanks,
Dimo
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