From 157aaf91677e52f26b85d047f6707355034c1d61 Mon Sep 17 00:00:00 2001 From: "Timothy A. Bish" Date: Wed, 2 Jan 2013 22:34:44 +0000 Subject: [PATCH] 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 --- .../activemq/transport/stomp/StompVirtualTopicTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/StompVirtualTopicTest.java b/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/StompVirtualTopicTest.java index d9ab86550d..db3c4b9fb4 100644 --- a/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/StompVirtualTopicTest.java +++ b/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/StompVirtualTopicTest.java @@ -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);