Uploaded image for project: 'ActiveMQ C++ Client'
  1. ActiveMQ C++ Client
  2. AMQCPP-554

Consumer close with INDIVIDUAL_ACKNOWLEDGE and dispatched messages doesn't rollback

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.8.3
    • 3.9.0
    • CMS Impl
    • None
    • Patch Available

    Description

      Messages are lost when the following is done:
      1. Send message to queue ABC
      1. Subscribe to queue ABC with INDIVIDUAL_ACKNOWLEDGE
      2. Unsubscribe to queue ABC
      3. Subscribe to queue ABC

      The unsubscribe doesn't remove the message from the audit, so the resubscribe causes CMS to think the message is a duplicate, so it just acknowledges it without it ever getting delivered to a consumer.

      Attachments

        1. ActiveMQConsumerKernel.cpp.patch
          0.6 kB
          Kevin Urciolo

        Issue Links

          Activity

            People

              tabish Timothy A. Bish
              greenbean Kevin Urciolo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: