You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Torsten Mielke (JIRA)" <ji...@apache.org> on 2009/11/23 15:23:52 UTC

[jira] Created: (AMQ-2506) Incorrect activemq-policy.xml in activemq-core tests used and referenced in http://activemq.apache.org/dispatch-policies.html.

Incorrect activemq-policy.xml in activemq-core tests used and referenced in http://activemq.apache.org/dispatch-policies.html.
------------------------------------------------------------------------------------------------------------------------------

                 Key: AMQ-2506
                 URL: https://issues.apache.org/activemq/browse/AMQ-2506
             Project: ActiveMQ
          Issue Type: Bug
          Components: Documentation, Test Cases
    Affects Versions: 5.3.0
            Reporter: Torsten Mielke
            Priority: Minor


http://activemq.apache.org/dispatch-policies.html explains the use of dispatch policies and gives an example which is a code snippet taken from activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/xbean/activemq-policy.xml.

That example is incorrect as it configures a round robin dispatch policy for topics but such policy only really makes sense for queues. 


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


[jira] Commented: (AMQ-2506) Incorrect activemq-policy.xml in activemq-core tests used and referenced in http://activemq.apache.org/dispatch-policies.html.

Posted by "Gary Tully (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-2506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56028#action_56028 ] 

Gary Tully commented on AMQ-2506:
---------------------------------

Is this really wrong? Check out the test case that validates the config setting. org.apache.activemq.xbean.XBeanConfigTest
It fails with the patch. There may be cases where topic dispatch order is important. Advisories in a network scenario for example can be more deterministic.  Am not sure if this is really a bug in the doc.
If it really is then the corresponding test needs to change but it looks ok to me.

> Incorrect activemq-policy.xml in activemq-core tests used and referenced in http://activemq.apache.org/dispatch-policies.html.
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-2506
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2506
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Documentation, Test Cases
>    Affects Versions: 5.3.0
>            Reporter: Torsten Mielke
>            Priority: Minor
>         Attachments: AMQ-2506.patch
>
>   Original Estimate: 20 minutes
>  Remaining Estimate: 20 minutes
>
> http://activemq.apache.org/dispatch-policies.html explains the use of dispatch policies and gives an example which is a code snippet taken from activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/xbean/activemq-policy.xml.
> That example is incorrect as it configures a round robin dispatch policy for topics but such policy only really makes sense for queues. 

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


[jira] Updated: (AMQ-2506) Incorrect activemq-policy.xml in activemq-core tests used and referenced in http://activemq.apache.org/dispatch-policies.html.

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

Bruce Snyder updated AMQ-2506:
------------------------------

    Fix Version/s: 5.5.0
                       (was: 5.4.1)

> Incorrect activemq-policy.xml in activemq-core tests used and referenced in http://activemq.apache.org/dispatch-policies.html.
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-2506
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2506
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Documentation, Test Cases
>    Affects Versions: 5.3.0
>            Reporter: Torsten Mielke
>            Priority: Minor
>             Fix For: 5.5.0
>
>         Attachments: AMQ-2506.patch
>
>   Original Estimate: 20 minutes
>  Remaining Estimate: 20 minutes
>
> http://activemq.apache.org/dispatch-policies.html explains the use of dispatch policies and gives an example which is a code snippet taken from activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/xbean/activemq-policy.xml.
> That example is incorrect as it configures a round robin dispatch policy for topics but such policy only really makes sense for queues. 

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


[jira] Updated: (AMQ-2506) Incorrect activemq-policy.xml in activemq-core tests used and referenced in http://activemq.apache.org/dispatch-policies.html.

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

Torsten Mielke updated AMQ-2506:
--------------------------------

    Attachment: AMQ-2506.patch

> Incorrect activemq-policy.xml in activemq-core tests used and referenced in http://activemq.apache.org/dispatch-policies.html.
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-2506
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2506
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Documentation, Test Cases
>    Affects Versions: 5.3.0
>            Reporter: Torsten Mielke
>            Priority: Minor
>         Attachments: AMQ-2506.patch
>
>   Original Estimate: 20 minutes
>  Remaining Estimate: 20 minutes
>
> http://activemq.apache.org/dispatch-policies.html explains the use of dispatch policies and gives an example which is a code snippet taken from activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/xbean/activemq-policy.xml.
> That example is incorrect as it configures a round robin dispatch policy for topics but such policy only really makes sense for queues. 

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