You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "ffrench (JIRA)" <ji...@apache.org> on 2009/08/26 11:01:50 UTC

[jira] Created: (AMQ-2365) Broker.getDestinations doesn't return temporary destination.

Broker.getDestinations doesn't return temporary destination.
------------------------------------------------------------

                 Key: AMQ-2365
                 URL: https://issues.apache.org/activemq/browse/AMQ-2365
             Project: ActiveMQ
          Issue Type: Improvement
    Affects Versions: 5.2.0
         Environment: Any
            Reporter: ffrench


Hello,

I noticed that the method Broker.getDestinations doesn't return temporary destination. According to the Javadoc I would say that it's not a correct behavior :

    /**
     * @return all destinations added to the Broker.
     * @throws Exception TODO
     */
    ActiveMQDestination[] getDestinations() throws Exception;

As nobody answers me in the users forum (http://www.nabble.com/ActiveMQ-native-API-problem-%3A-Broker.getDestinations-td23408546.html#a25115013) and as my aim is to get all the destinations I decided to create a new JIRA with a jUNIT test and my diffs - 2 lines. 

It's a so little correction that I've the impression activemq developers intentionally decide to ignore temporary destination for this method return. If it's the case I would like to know why, so tell me what you think about. 

Thanks for all


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (AMQ-2365) Broker.getDestinations doesn't return temporary destination.

Posted by "Rob Davies (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Davies reassigned AMQ-2365:
-------------------------------

    Assignee: Rob Davies

> Broker.getDestinations doesn't return temporary destination.
> ------------------------------------------------------------
>
>                 Key: AMQ-2365
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2365
>             Project: ActiveMQ
>          Issue Type: Improvement
>    Affects Versions: 5.3.0
>         Environment: Any
>            Reporter: ffrench
>            Assignee: Rob Davies
>         Attachments: DestinationsListTest.java, diff.txt
>
>
> Hello,
> I noticed that the method Broker.getDestinations doesn't return temporary destination. According to the Javadoc I would say that it's not a correct behavior :
>     /**
>      * @return all destinations added to the Broker.
>      * @throws Exception TODO
>      */
>     ActiveMQDestination[] getDestinations() throws Exception;
> As nobody answers me in the users forum (http://www.nabble.com/ActiveMQ-native-API-problem-%3A-Broker.getDestinations-td23408546.html#a25115013) and as my aim is to get all the destinations I decided to create a new JIRA with a jUNIT test and my diffs - 2 lines. 
> It's a so little correction that I've the impression activemq developers intentionally decide to ignore temporary destination for this method return. If it's the case I would like to know why, so tell me what you think about. 
> Thanks for all

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (AMQ-2365) Broker.getDestinations doesn't return temporary destination.

Posted by "Rob Davies (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Davies resolved AMQ-2365.
-----------------------------

    Resolution: Won't Fix

We intentionally don't add temporary destinations - a lot of broker behaviour works by assuming that the method won't return any.
Why do you want the temporary destinations ? - we could provide a work around for your specific use case

> Broker.getDestinations doesn't return temporary destination.
> ------------------------------------------------------------
>
>                 Key: AMQ-2365
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2365
>             Project: ActiveMQ
>          Issue Type: Improvement
>    Affects Versions: 5.3.0
>         Environment: Any
>            Reporter: ffrench
>            Assignee: Rob Davies
>         Attachments: DestinationsListTest.java, diff.txt
>
>
> Hello,
> I noticed that the method Broker.getDestinations doesn't return temporary destination. According to the Javadoc I would say that it's not a correct behavior :
>     /**
>      * @return all destinations added to the Broker.
>      * @throws Exception TODO
>      */
>     ActiveMQDestination[] getDestinations() throws Exception;
> As nobody answers me in the users forum (http://www.nabble.com/ActiveMQ-native-API-problem-%3A-Broker.getDestinations-td23408546.html#a25115013) and as my aim is to get all the destinations I decided to create a new JIRA with a jUNIT test and my diffs - 2 lines. 
> It's a so little correction that I've the impression activemq developers intentionally decide to ignore temporary destination for this method return. If it's the case I would like to know why, so tell me what you think about. 
> Thanks for all

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AMQ-2365) Broker.getDestinations doesn't return temporary destination.

Posted by "ffrench (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ffrench updated AMQ-2365:
-------------------------

    Attachment: diff.txt
                DestinationsListTest.java

The diff.txt file is my diff in order to get all destinations including temporary destinations.
The DestinationsListTest.java is my jUNIT test which show the problem and validate my diffs.

> Broker.getDestinations doesn't return temporary destination.
> ------------------------------------------------------------
>
>                 Key: AMQ-2365
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2365
>             Project: ActiveMQ
>          Issue Type: Improvement
>    Affects Versions: 5.2.0
>         Environment: Any
>            Reporter: ffrench
>         Attachments: DestinationsListTest.java, diff.txt
>
>
> Hello,
> I noticed that the method Broker.getDestinations doesn't return temporary destination. According to the Javadoc I would say that it's not a correct behavior :
>     /**
>      * @return all destinations added to the Broker.
>      * @throws Exception TODO
>      */
>     ActiveMQDestination[] getDestinations() throws Exception;
> As nobody answers me in the users forum (http://www.nabble.com/ActiveMQ-native-API-problem-%3A-Broker.getDestinations-td23408546.html#a25115013) and as my aim is to get all the destinations I decided to create a new JIRA with a jUNIT test and my diffs - 2 lines. 
> It's a so little correction that I've the impression activemq developers intentionally decide to ignore temporary destination for this method return. If it's the case I would like to know why, so tell me what you think about. 
> Thanks for all

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AMQ-2365) Broker.getDestinations doesn't return temporary destination.

Posted by "ffrench (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ffrench updated AMQ-2365:
-------------------------

    Affects Version/s:     (was: 5.2.0)
                       5.3.0

> Broker.getDestinations doesn't return temporary destination.
> ------------------------------------------------------------
>
>                 Key: AMQ-2365
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2365
>             Project: ActiveMQ
>          Issue Type: Improvement
>    Affects Versions: 5.3.0
>         Environment: Any
>            Reporter: ffrench
>         Attachments: DestinationsListTest.java, diff.txt
>
>
> Hello,
> I noticed that the method Broker.getDestinations doesn't return temporary destination. According to the Javadoc I would say that it's not a correct behavior :
>     /**
>      * @return all destinations added to the Broker.
>      * @throws Exception TODO
>      */
>     ActiveMQDestination[] getDestinations() throws Exception;
> As nobody answers me in the users forum (http://www.nabble.com/ActiveMQ-native-API-problem-%3A-Broker.getDestinations-td23408546.html#a25115013) and as my aim is to get all the destinations I decided to create a new JIRA with a jUNIT test and my diffs - 2 lines. 
> It's a so little correction that I've the impression activemq developers intentionally decide to ignore temporary destination for this method return. If it's the case I would like to know why, so tell me what you think about. 
> Thanks for all

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.