Alex Rudyy created QPID-8062:
--------------------------------

             Summary: [Broker-J][AMQP 1.0] Close a link when a pre-settled 
message published over "anonymous relay" is rejected by the destination
                 Key: QPID-8062
                 URL: https://issues.apache.org/jira/browse/QPID-8062
             Project: Qpid
          Issue Type: Bug
            Reporter: Alex Rudyy


As per section "2.2.2 Routing Errors" of "Using the Anonymous Terminus for 
Message Routing Version 1.0":
{quote}
If the source of the link does not support the rejected outcome, or the message 
has already been settled by the sender, then the routing node MUST detach the 
link with an error. The error sent by the routing node MUST contain the error 
which would have been communicated in the detach sent on attempting to link 
directly to the address in the message’s to field. Additionally the info field 
of error MUST contain an entry with symbolic key delivery-tag and binary value 
of the delivery-tag of the message which caused the failure.
{quote}

The Broker-J does not handle the case when message is sent pre-settled and is 
rejected by the destination. We need to add the support for this behaviour.  
Additionally, if a pre-settled message is published within a transaction and 
cannot be fully processed by a queue/exchange/whatever then have the 
transactional resource (queue / exchange / whatever) logically mark the 
transaction as"rollback only" (i.e. failed), and then reject any attempt to 
commit such a transaction.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to