mirror of https://github.com/apache/activemq.git
fix test case after changes in https://issues.apache.org/jira/browse/AMQ-4237 broker the tests queue MBean lookup
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1428093 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e06c23e22a
commit
157aaf9167
|
@ -240,9 +240,9 @@ public class StompVirtualTopicTest extends StompTestSupport {
|
|||
|
||||
private long reportQueueStatistics() throws Exception {
|
||||
|
||||
ObjectName queueViewMBeanName = new ObjectName("org.apache.activemq:Type=Queue" +
|
||||
",Destination=Consumer.A.VirtualTopic.FOO" +
|
||||
",BrokerName=localhost");
|
||||
ObjectName queueViewMBeanName = new ObjectName("org.apache.activemq:destinationType=Queue" +
|
||||
",destinationName=Consumer.A.VirtualTopic.FOO" +
|
||||
",type=Broker,brokerName=localhost");
|
||||
QueueViewMBean queue = (QueueViewMBean)
|
||||
brokerService.getManagementContext().newProxyInstance(queueViewMBeanName, QueueViewMBean.class, true);
|
||||
|
||||
|
|
Loading…
Reference in New Issue