You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by "Lionel Cons (JIRA)" <ji...@apache.org> on 2012/06/22 10:13:42 UTC

[jira] [Updated] (APLO-215) Broker may send queued messages multiple time over SSL

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

Lionel Cons updated APLO-215:
-----------------------------

    Attachment: APLO-215.pl
    
> Broker may send queued messages multiple time over SSL
> ------------------------------------------------------
>
>                 Key: APLO-215
>                 URL: https://issues.apache.org/jira/browse/APLO-215
>             Project: ActiveMQ Apollo
>          Issue Type: Bug
>         Environment: apollo-99-trunk-20120621.153441-53
>            Reporter: Lionel Cons
>         Attachments: APLO-215.pl
>
>
> When putting messages in a queue and removing them with client side acknowledgments, Apollo may send some messages multiple times. Here is an example test output:
> $ perl test.pl 
> producing 3000 messages... done
> consuming 1000 messages... done
> consuming 1000 messages... done
> consuming 1000 messages... done
> draining... drained 13 messages
> message 1000 received 2 times!
> message 1994 received 2 times!
> message 1995 received 2 times!
> message 1996 received 2 times!
> message 1997 received 2 times!
> message 1998 received 2 times!
> message 2988 received 2 times!
> message 2989 received 2 times!
> message 2990 received 2 times!
> message 2991 received 2 times!
> message 2992 received 2 times!
> message 2993 received 2 times!
> message 999 received 2 times!
> done checking
> The consumers are careful with client side acknowledgment so there should be nothing left for the final drainer.
> Please see the attached script for more details. You may need to play with the number of messages or the number of consumers.
> Note that the test script seems to work fine over STOMP. I've only seen problems with STOMP+SSL.

--
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