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

Timothy Bish closed AMQ-5117.
-----------------------------

    Resolution: Not a Problem

The test fails due to a lack of controlling receipt requests that allow the 
subscription to be put in place prior to producing messages to the topic.  Also 
the connection close can happen before all data is consumed from the socket 
causing acks to be missed.  

> Server stops accepting ACK frames
> ---------------------------------
>
>                 Key: AMQ-5117
>                 URL: https://issues.apache.org/jira/browse/AMQ-5117
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker, stomp
>    Affects Versions: 5.9.0
>         Environment: Windows 8.1, JDK 1.7_u 51, NetBeans 7.4 IDE
>            Reporter: Michael Justin
>              Labels: test
>         Attachments: StompLoadTestWithAck.java, StompLoadTestWithAck.java
>
>
> The STOMP unit test uses two connections (in separate threads). The first 
> subscribes a topic destination using client ack. The second sends 10000 
> messages. The first thread then receives and acknowledges the messages.
> The test is configured with auto-fail time-out after 10 seconds.
> The log shows that the broker does not consume the ACK frame for message 
> 4777. The test times out on the line
> connection.sendFrame(ack.format());
> 2014-03-22 09:28:10,000 [Test Worker 1  ] - INFO  StompLoadTestWithAck        
>    - Will send message ACK: 4777
> 2014-03-22 09:28:16,328 [main           ] - INFO  AutoFailTestSupport         
>    - Stopping auto fail thread...



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to