Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-1560

Need to atomically update binding

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.6
    • C++ Broker
    • 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.

      Attachments

        Activity

          People

            gsim Gordon Sim
            gsim Gordon Sim
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: