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.

Reply via email to