activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APLO-215) Broker may send queued messages multiple time over SSL
Date Fri, 22 Jun 2012 19:27:42 GMT

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

Hiram Chirino commented on APLO-215:
------------------------------------

I think this may be occurring because you close out the consuming connection before you verify
that those ACKS have been fully transmitted to the server.  Try adding a receipt header on
the DISCONNECT frame and wait for that come back before closing the socket out.
                
> 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

        

Mime
View raw message