Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-3909

Messages sometimes not received by active topic subscriptions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.6.0
    • 5.7.0
    • Broker, JMS client, STOMP
    • None

    Description

      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.

      Attachments

        Activity

          People

            tabish Timothy A. Bish
            tabish Timothy A. Bish
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: