Matt Pavlovich created MRELEASE-1135:
----------------------------------------

             Summary: Fix console regression when listing consumers on a queue
                 Key: MRELEASE-1135
                 URL: https://issues.apache.org/jira/browse/MRELEASE-1135
             Project: Maven Release Plugin
          Issue Type: Bug
            Reporter: Matt Pavlovich


n 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