git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1428053 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Timothy A. Bish 2013-01-02 21:15:28 +00:00
parent e60087608e
commit e06c23e22a
1 changed files with 2 additions and 2 deletions

View File

@ -130,8 +130,8 @@ public class PooledConnectionSessionCleanupTest {
private QueueViewMBean getProxyToQueue(String name) throws MalformedObjectNameException, JMSException { private QueueViewMBean getProxyToQueue(String name) throws MalformedObjectNameException, JMSException {
ObjectName queueViewMBeanName = new ObjectName("org.apache.activemq" ObjectName queueViewMBeanName = new ObjectName("org.apache.activemq"
+ ":Type=Queue,Destination=" + name + ":destinationType=Queue,destinationName=" + name
+ ",BrokerName=localhost"); + ",type=Broker,brokerName=localhost");
QueueViewMBean proxy = (QueueViewMBean) service.getManagementContext() QueueViewMBean proxy = (QueueViewMBean) service.getManagementContext()
.newProxyInstance(queueViewMBeanName, QueueViewMBean.class, true); .newProxyInstance(queueViewMBeanName, QueueViewMBean.class, true);
return proxy; return proxy;