Qpid
  1. Qpid
  2. QPID-2482

Topic Exchange can duplicate messages.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7
    • Component/s: C++ Broker
    • Labels:
      None
    • Environment:

      Linux

      Description

      As per Gordon's description:

      If a given queue is bound to a topic exchange with multiple bindings, a message sent to that exchange will result in a copy being enqueued for each binding that matches. This is incorrect - each message should be enqueued once if there is any binding to the queue that matches it.

      Steps to Reproduce:
      1. create queue
      2. bind it to amq.topic with two distinct bindings (e.g. red.* and *.herring)
      3. send amq.topic a message whose routing key matches both patterns (e.g. "red.herring")
      4. check the queue

      Actual results:

      The message is enqueued on the queue twice.

      Expected results:

      The message should only be enqueued on the queue once.

        Activity

        Justin Ross made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Ken Giusti made changes -
        Fix Version/s 0.7 [ 12314455 ]
        Ken Giusti made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Giusti made changes -
        Field Original Value New Value
        Assignee Ken Giusti [ kgiusti ]
        Ken Giusti created issue -

          People

          • Assignee:
            Ken Giusti
            Reporter:
            Ken Giusti
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development