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

Timothy Bish resolved AMQ-5680.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 5.12.0

Fixed, thanks for pointing that out. 

> MessageBrokerView.getTempQueues() have test for destination.isTopic() instead 
> of destination.isQueue()
> ------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-5680
>                 URL: https://issues.apache.org/jira/browse/AMQ-5680
>             Project: ActiveMQ
>          Issue Type: Bug
>            Reporter: Endre Stølsvik
>            Priority: Minor
>             Fix For: 5.12.0
>
>
> The following code is a near-copy of the .getTempTopics() right above - 
> without the change of the "if (destination.isTopic()..." to "if 
> (destination.isQueue()..."
> {code}
>     /**
>      * Retrieve a set of all TemporaryQueues be used by the Broker
>      * @return  all TemporaryQueues
>      */
>     public Set<ActiveMQTempQueue> getTempQueues(){
>         Set<ActiveMQTempQueue> result = new HashSet<ActiveMQTempQueue>();
>         for (ActiveMQDestination destination:getDestinations()){
>             if (destination.isTopic() && destination.isTemporary()){
>                 result.add((ActiveMQTempQueue) destination);
>             }
>         }
>         return result;
>     }
> {code}



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

Reply via email to