Jamie goodyear created AMQ-5764:
-----------------------------------

             Summary: When the mirroredQueue destination interceptor is enabled 
in activemq.xml the purge button on the queues tab of the web console no longer 
works
                 Key: AMQ-5764
                 URL: https://issues.apache.org/jira/browse/AMQ-5764
             Project: ActiveMQ
          Issue Type: Bug
          Components: webconsole
    Affects Versions: 5.11.1, 5.12.0
            Reporter: Jamie goodyear


When the mirroredQueue destination interceptor is enabled in activemq.xml the 
purge button on the queues tab of the web console no longer works.

This is because the code that's invoked by this operation is broken, namely 
org.apache.activemq.web.LocalBrokerFacade.purgeQueue().

I have changed it in my local build to:

public void purgeQueue(ActiveMQDestination destination) throws Exception { 
getQueue(destination.getPhysicalName()).purge(); 
}

This new implementation works regardless of whether or not mirrored queues are 
enabled.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to