activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1428093 - /activemq/trunk/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/StompVirtualTopicTest.java
Date Wed, 02 Jan 2013 22:34:44 GMT
Author: tabish
Date: Wed Jan  2 22:34:44 2013
New Revision: 1428093

URL: http://svn.apache.org/viewvc?rev=1428093&view=rev
Log:
fix test case after changes in https://issues.apache.org/jira/browse/AMQ-4237 broker the tests
queue MBean lookup

Modified:
    activemq/trunk/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/StompVirtualTopicTest.java

Modified: activemq/trunk/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/StompVirtualTopicTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/StompVirtualTopicTest.java?rev=1428093&r1=1428092&r2=1428093&view=diff
==============================================================================
--- activemq/trunk/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/StompVirtualTopicTest.java
(original)
+++ activemq/trunk/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/StompVirtualTopicTest.java
Wed Jan  2 22:34:44 2013
@@ -240,9 +240,9 @@ public class StompVirtualTopicTest exten
 
         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);
 



Mime
View raw message