How to pause a queue in Activemq
问题 I need to pause a queue in Activemq 5.13.2 inside an application and according to this post https://stackoverflow.com/a/32165140/1458556 it's possible with version 5.12 but I don't know how to implement it. Any Java code samples would be great. @Test public void testPauseQueue() throws Exception { JMXServiceURL url = new JMXServiceURL("service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi"); JMXConnector jmxc = JMXConnectorFactory.connect(url); MBeanServerConnection conn = jmxc