qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Moravec (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (QPID-5534) [C++ broker] Headers exchange can route a message to one queue multiple times
Date Mon, 03 Feb 2014 12:50:09 GMT

     [ https://issues.apache.org/jira/browse/QPID-5534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pavel Moravec resolved QPID-5534.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 0.27

> [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
>             Fix For: 0.27
>
>
> 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message