You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Gordon Sim (JIRA)" <qp...@incubator.apache.org> on 2009/01/07 11:56:44 UTC

[jira] Resolved: (QPID-1560) Need to atomically update binding

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

Gordon Sim resolved QPID-1560.
------------------------------

    Resolution: Fixed

Implemented as r732297.

> Need to atomically update binding
> ---------------------------------
>
>                 Key: QPID-1560
>                 URL: https://issues.apache.org/jira/browse/QPID-1560
>             Project: Qpid
>          Issue Type: New Feature
>          Components: C++ Broker
>            Reporter: Gordon Sim
>            Assignee: Gordon Sim
>
> E.g. Assume there is an exchange, e, and two queues q-a and q-b, with q-a
> initially bound to e by key 'k'. We now wish to change the route for messages
> with that key such that they now go to q-b. If we do bind(e, 'k', q-b), then
> unbind(e, 'k', q-a), its possible that a message arriving after the bind and
> before the unbind will be added to both queues. If on the other hand we do the
> unbind before the bind, a message arriving between these two operations may be
> lost.
> Would be nice to be able to atomically update a direct binding for a key from one queue to another without loss or duplication of messages.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.