Pavel Moravec created QPID-5534:
-----------------------------------

             Summary: [C++ broker] Headers exchange can route a message to one 
queue multiple times
                 Key: QPID-5534
                 URL: https://issues.apache.org/jira/browse/QPID-5534
             Project: Qpid
          Issue Type: Bug
          Components: C++ Broker
    Affects Versions: 0.24
            Reporter: Pavel Moravec
            Assignee: Pavel Moravec
            Priority: Minor


If a message sent to a headers exchange matches two bindings to one queue, it 
is enqueued to that queue twice.

Further, if the queue and the message are durable, journal raises error:

JERR_MAP_DUPLICATE: Attempted to insert record into map using duplicate key.


Reproducer:

qpid-config add queue MyQueue --durable
qpid-config bind amq.match MyQueue SomeKey any property1=value1
qpid-config bind amq.match MyQueue OtherKey all property2=value2
qpid-send -a "amq.match" -m 1 -P property1=value1 -P property2=value2 
--durable=true




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to