-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ambiguities on pickup protocol #87
Comments
@rodolfomiranda I'm asking you. Since you are the one that initially wrote the protocol and implemented the Mediator. |
We had quite a bit of discussions around this and would be good to probably add more context to the Protocol. In my opinion the If you send 10 As I see the recipient implementation can be batch all |
I agree on this. Even though it could be a good use-case something like: I also agree with @FabioPinheiro regarding using an empty An additional thing I would like to point out here is the possibility of sending Delivery messages without
|
Regarding the empty |
In such case, I think this should be clarified in the spec. From reading Message Reference section, I would think the |
This is a much better answer than I gave in the meeting yesterday. |
On the pickup protocol v3.0
Why is the 'thid' only shown in the example for
delivery
(Message Delivery type)?Does that mean that is the only place not optional?
Is not clear if
messages-received
message can exist without the 'thid' field.Since the "
message_id_list is a list of ids of each message received. The id of each message is present in the attachment descriptor of each attached message of a delivery message.
" and "The id is an opaque value, and the recipient should not infer anything from the value.
"The recipient can not assume the 'id' is unique. The way that the protocols are described, the 'id' will only make sense in the reply.
IMO 'thid' should be optional on all message types of this protocol. Which means the execution of the protocol can start anywhere.
But for that, the recipient needs to assume the attachment's 'id' is unique to the mediator.
In the Delivery Request, we have:
If no messages are available to be sent, a status message MUST be sent immediately.
IMO we should just remove this line.
Why are we changing the behavior in this condition (assuming that by
immediately
you meaninstead
)Sending a
status
doesn't bring any extra value.For the recipient is the same have a
status
saying that you have zero messages or have adelivery
with zero messages. But for the developer implementing a state machine is more complicated.The text was updated successfully, but these errors were encountered: