Jakub Scholz created QPID-6492:
----------------------------------

             Summary: When AMQP 1.0 link attach triggers an ACL error, the link 
should be refused
                 Key: QPID-6492
                 URL: https://issues.apache.org/jira/browse/QPID-6492
             Project: Qpid
          Issue Type: Improvement
          Components: C++ Broker
    Affects Versions: 0.32
            Reporter: Jakub Scholz


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)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to