[ 
https://issues.apache.org/jira/browse/AMQ-9298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt Pavlovich reassigned AMQ-9298:
-----------------------------------

    Assignee: Matt Pavlovich

> Fix console regression when listing consumers on a queue
> --------------------------------------------------------
>
>                 Key: AMQ-9298
>                 URL: https://issues.apache.org/jira/browse/AMQ-9298
>             Project: ActiveMQ
>          Issue Type: Bug
>            Reporter: Matt Pavlovich
>            Assignee: Matt Pavlovich
>            Priority: Major
>
> in org.apache.activemq.web.BrokerFacadeSupport
>     @Override
>     @SuppressWarnings("unchecked")
>     public Collection<SubscriptionViewMBean> getQueueConsumers(String 
> queueName) throws Exception {
>         String brokerName = getBrokerName();
>         queueName = StringUtils.replace(queueName, "\"", "_");
>         ObjectName query = new 
> ObjectName("org.apache.activemq:type=Broker,brokerName=\"" + brokerName
>                 + "\",destinationType=Queue,destinationName=\"" + queueName + 
> "\",endpoint=Consumer,*");
>         Set<ObjectName> queryResult = queryNames(query, null);
>         return getManagedObjects(queryResult.toArray(new 
> ObjectName[queryResult.size()]), SubscriptionViewMBean.class);
>     }
> these quotes are redundant,when i delete these quotes,and replace this class 
> file to activemq-web-5.16.6.jar and restart active mq . the the consumer list 
> appears. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to