[ 
https://issues.apache.org/jira/browse/QPID-2482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12856060#action_12856060
 ] 

Emmanuel Bourg commented on QPID-2482:
--------------------------------------

Sorry for the false report, I misunderstood the behavior of the example. I saw 
the messages twice and assumed that was the same issue reported here. But in 
this case there is one queue with several bindings, whereas the example uses 
several queues with only one binding. 

Maybe changing the example to use only one queue would avoid the confusion.

> Topic Exchange can duplicate messages.
> --------------------------------------
>
>                 Key: QPID-2482
>                 URL: https://issues.apache.org/jira/browse/QPID-2482
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>         Environment: Linux
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org

Reply via email to