mirror of https://github.com/apache/activemq.git
fix and test for: https://issues.apache.org/jira/browse/AMQ-4225
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1428053 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e60087608e
commit
e06c23e22a
|
@ -130,8 +130,8 @@ public class PooledConnectionSessionCleanupTest {
|
|||
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue