[
https://issues.apache.org/jira/browse/AMQ-5117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy Bish updated AMQ-5117:
------------------------------
Attachment: StompLoadTestWithAck.java
Fixed test that shows how to accomplish this.
> 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)