You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2013/01/02 22:15:29 UTC
svn commit: r1428053 -
/activemq/trunk/activemq-pool/src/test/java/org/apache/activemq/pool/PooledConnectionSessionCleanupTest.java
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;