[
https://issues.apache.org/jira/browse/AMQ-3909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy Bish resolved AMQ-3909.
-------------------------------
Resolution: Fixed
Fixed and tests added in trunk
> Messages sometimes not received by active topic subscriptions
> -------------------------------------------------------------
>
> Key: AMQ-3909
> URL: https://issues.apache.org/jira/browse/AMQ-3909
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker, JMS client, stomp
> Affects Versions: 5.6.0
> Reporter: Timothy Bish
> Assignee: Timothy Bish
> Fix For: 5.7.0
>
>
> A consumer subscribe over stomp or a failover of a consumer can lead to a
> scenario in which messages are not delivered to consumers on Topics. There
> is a small window in which the consumer subscribe and consumer update of
> prefetch during failover and a Stomp consumer subscribe when messages might
> be produced but the subscription is not sent those messages. Once a new
> Message is produced after the ConsumerControl command updates the prefetch
> then pending messages are dispatched. The Topic and DurableTopic
> subscription classes need to do an eager dispatch after the prefetch size is
> updated to ensure pending message that were held because the window was to
> small are dispatched in a timely manner.
--
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