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:
Timothy A. Bish 2013-01-02 22:34:44 +00:00
parent e06c23e22a
commit 157aaf9167
1 changed files with 3 additions and 3 deletions

View File

@ -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);