activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1428053 - /activemq/trunk/activemq-pool/src/test/java/org/apache/activemq/pool/PooledConnectionSessionCleanupTest.java
Date Wed, 02 Jan 2013 21:15:29 GMT
Author: tabish
Date: Wed Jan  2 21:15:28 2013
New Revision: 1428053

URL: http://svn.apache.org/viewvc?rev=1428053&view=rev
Log:
fix and test for: https://issues.apache.org/jira/browse/AMQ-4225

Modified:
    activemq/trunk/activemq-pool/src/test/java/org/apache/activemq/pool/PooledConnectionSessionCleanupTest.java

Modified: activemq/trunk/activemq-pool/src/test/java/org/apache/activemq/pool/PooledConnectionSessionCleanupTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-pool/src/test/java/org/apache/activemq/pool/PooledConnectionSessionCleanupTest.java?rev=1428053&r1=1428052&r2=1428053&view=diff
==============================================================================
--- activemq/trunk/activemq-pool/src/test/java/org/apache/activemq/pool/PooledConnectionSessionCleanupTest.java
(original)
+++ activemq/trunk/activemq-pool/src/test/java/org/apache/activemq/pool/PooledConnectionSessionCleanupTest.java
Wed Jan  2 21:15:28 2013
@@ -130,8 +130,8 @@ public class PooledConnectionSessionClea
 
     private QueueViewMBean getProxyToQueue(String name) throws MalformedObjectNameException,
JMSException {
         ObjectName queueViewMBeanName = new ObjectName("org.apache.activemq"
-                + ":Type=Queue,Destination=" + name
-                + ",BrokerName=localhost");
+                + ":destinationType=Queue,destinationName=" + name
+                + ",type=Broker,brokerName=localhost");
         QueueViewMBean proxy = (QueueViewMBean) service.getManagementContext()
                 .newProxyInstance(queueViewMBeanName, QueueViewMBean.class, true);
         return proxy;



Mime
View raw message