Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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.