Reputation: 1
I have a queue with several consumers and I'd like to disable one from ActiveMQ.
I've looked into using JMX but haven't been able to see anything that would allow me to do this.
Ideally this would be without changing any of the code at the consumer.
Upvotes: 0
Views: 4929
Reputation: 1199
The ActiveMQMessageConsumer
has no operations exposed via JMX to stop the process. The available options are:
ActiveMQMessageConsumer.stop
method or just kill the process. ActiveMQConnection.stop
method. However, this is a heavy-handed measure because other JMS clients could be using sessions created from the connection. Bruce
Upvotes: 1