You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Saeid Mirzaei (Commented) (JIRA)" <ji...@apache.org> on 2011/11/29 16:55:40 UTC

[jira] [Commented] (AMQ-2217) Message delivery to selector based consumers pauses if selector leaves messages on the queue.

    [ https://issues.apache.org/jira/browse/AMQ-2217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13159325#comment-13159325 ] 

Saeid Mirzaei commented on AMQ-2217:
------------------------------------

Does this mean that there is no plan to fix it in future versions of ActiveMQ and not Appollo ?

                
> Message delivery to selector based consumers pauses if selector leaves messages on the queue.
> ---------------------------------------------------------------------------------------------
>
>                 Key: AMQ-2217
>                 URL: https://issues.apache.org/jira/browse/AMQ-2217
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.1.0, 5.3.0
>         Environment: Windows XP Professional 2002, Service Pack 2,  Intel Pentium D 3ghz, various 1.5 and 1.6 versions of jdk
>            Reporter: Jar Lyons
>            Assignee: Gary Tully
>             Fix For: 5.4.1
>
>         Attachments: DiscriminatingConsumerLoadTest.java
>
>
> I have written a test case which will demonstrate the difference between the following two scenarios:
> 1. Producer sending dissimilar JMSType messages to a queue, with a client consuming all messages (no selector).
> 2. Producer sending dissimilar JMSType messages to a queue, with a client consuming every other message (using selector).
> With a large enough size of test messages (for my environment about 5k), scenario 2 will fail with delivery to the consumer halted, while scenario 1 will not.
> Test Output:
> waiting for consumer to pause ... consumer: 0, producer: 0
> waiting for consumer to pause ... consumer: 200, producer: 5000
> waiting for consumer to pause ... consumer: 200, producer: 5000
> waiting for consumer to pause ... consumer: 200, producer: 5000
> waiting for consumer to pause ... consumer: 200, producer: 5000
> waiting for consumer to pause ... consumer: 200, producer: 5000

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira