You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ted Ross (JIRA)" <ji...@apache.org> on 2017/06/28 19:27:00 UTC

[jira] [Comment Edited] (PROTON-1512) Expose the "aborted" flag for transfered deliveries

    [ https://issues.apache.org/jira/browse/PROTON-1512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16067092#comment-16067092 ] 

Ted Ross edited comment on PROTON-1512 at 6/28/17 7:26 PM:
-----------------------------------------------------------

Without this feature, there are two possible approaches to handling incompletely received messages:
  - Detach all outgoing links over which aborted messages are being sent.
  - Send truncated messages without any indication of failure and hope that the receiver is able to determine that the message is not complete.

Neither of these options is, in my opinion, an acceptable solution.



was (Author: tedross):
Without this feature, there are two possible approaches to handling incompletely received messages:
  - Detach all outgoing links over which aborted messages are being sent.
  - Send truncated messages without any indication of failure and hope that the receiver is able to determine that the message is not complete.
Neither of these options is, in my opinion, an acceptable solution.


> Expose the "aborted" flag for transfered deliveries
> ---------------------------------------------------
>
>                 Key: PROTON-1512
>                 URL: https://issues.apache.org/jira/browse/PROTON-1512
>             Project: Qpid Proton
>          Issue Type: New Feature
>          Components: proton-c, proton-j
>            Reporter: Ted Ross
>
> As we develop support for message streaming in Qpid Dispatch Router (i.e. frames for large multi-frame messages are forwarded to destinations as they arrive, before the complete message is received), there is a need to handle the case where a received message is never completed.
> The AMQP protocol has a provision for this in the "aborted" flag in the transfer performative.  If the router is in the process of streaming a large message from sender to receiver and the sender drops before completing the delivery, the router can send a transfer to the downstream receivers with the "aborted" flag set.  This would indicate that the message should not be processed and would not cause any framing errors on the link.
> Proton does not currently expose this capability in its API (There is a pn_link_abort in the C header file, but it is commented out and not implemented).
> In order to properly handle the failure cases for message streaming, this feature must be usable in Proton.



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

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