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

When AMQP 1.0 link attach triggers an ACL error, the link should be refused

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.32
    • qpid-cpp-0.34
    • C++ Broker
    • None

    Description

      Currently, when AMQP 1.0 link attach triggers an ACL error in the C++ broker, the broker first confirms the attach with correct source & target and afterwards it detaches the link with the ACL error. That makes the client think that the link was first properly opened and only later closed.

      Instead of this, the broker should response to the attach with refusing the link - sending back an attach with source/target set to null. That would make it more clear to the client that an immediate detach should be expected. This mechanism is already used when the attach`s source/target doesn't exist.

      (this JIRA related to the discussion http://qpid.2158936.n2.nabble.com/Does-Qpid-C-behave-reasonably-when-a-AMQP-1-0-link-triggers-ACL-error-td7622845.html)

      Attachments

        Activity

          People

            gsim Gordon Sim
            scholzj Jakub Scholz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: