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

Messages sometimes not received by active topic subscriptions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.6.0
    • Fix Version/s: 5.7.0
    • Component/s: Broker, JMS client, STOMP
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: