[
https://issues.apache.org/activemq/browse/AMQ-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rob Davies resolved AMQ-1027.
-----------------------------
Fix Version/s: 5.1.0
(was: 5.2.0)
Resolution: Fixed
> Failover transport incorrectly handles prefetched messages
> ----------------------------------------------------------
>
> Key: AMQ-1027
> URL: https://issues.apache.org/activemq/browse/AMQ-1027
> Project: ActiveMQ
> Issue Type: Bug
> Components: Connector
> Affects Versions: 4.0.2
> Environment: Linux (Kernel 2.6), jdk 1.5.0_08
> Reporter: Danielius Jurna
> Assignee: Rob Davies
> Fix For: 5.1.0
>
> Attachments: FailoverConsumerTest.java
>
>
> After failover transport reconnect, if there is prefetched messages on the
> client, client sends invalid ack messages to the server. After that client
> stops receiving messages and it must be restarted.
> This happens only when there are more messages in the queue, than queue
> prefetch size.
> There is attached test case, which reproduces this error. Unfortunately,
> theres error in NetworkTestSupport.restartRemoteBroker() (after restart
> client cannot receive messages left in the queue). So you must use external
> broker an restart it manually, when the test asks you to do that. Should I
> report this bug in Component "Test cases"?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.