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

Instance of BlobTransferPolicy and its URL are being shared among multiple messages

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 5.6.0
    • Fix Version/s: 5.7.0
    • Component/s: Transport
    • Environment:

      Tested on Debian Lenny 64
      ActiveMQ 5.6.0

    • Patch Info:
      Patch Available

      Description

      Bug we encountered: using BlobMessage (FTP backend) and individual acknowledge, URL of BlobTransferPolicy was shared among messages following the acknowledge of messages.

      Example: 1 queue, 1 consumer, 1 producer, prefetch limit 5 messages

      • Producer generated 10 messages
      • Consumer received and processed (but do not ack) 5 messages
      • Consumer acked the 5 messages in a row
      • Consumer received 5 more messages and the first one shared the same BlobTransferPolicy and FTP URL that the last acknowledged messages.

      We tested the attached (one line) patch in our production server for more than one month and it did not the show the bug or any new one.

        Attachments

        1. amq_patch.diff
          0.4 kB
          Antoine Libert

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              libert Antoine Libert
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: