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

Rob Godfrey commented on QPID-7649:
-----------------------------------

So, one use case that comes to mind for which the use of this flag would prove 
useful:

"persistent" assignment of messages for REST-like APIs for consumers

Imagine the link as a resource.  You can POST credit to the link.  A link with 
credit can then have message resources as children.  These messages have 
essentially been assigned to the link.  Once messages are assigned to you you 
want to be able to GET it as many times as you like.  At some point you want to 
POST to accept it.  Each GET / POST might be on a different connection.  In the 
case of a GET that means you need to be able to re-send the message content

To achieve this we could set up a durable link with a default outcome of 
"RECEIVED". Assigned messages will be in the unsettled map with this state. 
When a connection is made, case the "client" resumes first with an empty, but 
incomplete unsettled map.  The server then sends the unsettled map, listing all 
the messages which have been assigned but not accepted.  The two detach, then 
the client attaches with an unsettled map that matches the server's - i.e. 
asking the server to resend all the assigned (but not accepted) messages.

> [Java Broker] Support the receipt of AMQP 1.0 Attach with 
> incomplete-unsettled=true
> -----------------------------------------------------------------------------------
>
>                 Key: QPID-7649
>                 URL: https://issues.apache.org/jira/browse/QPID-7649
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Lorenz Quack
>             Fix For: qpid-java-broker-7.0.0
>
>
> The AMQP 1.0 spec (2.7.3) allows to send an Attach with an incomplete 
> {{unsettled}} map together with {{incomplete-unsettled=true}}. This is useful 
> in cases where the unsettled map is too large to fit in a single frame.
> We currently do not respect this, violating the spec.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to