[
https://issues.apache.org/jira/browse/PROTON-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13804488#comment-13804488
]
Bozo Dragojevic commented on PROTON-290:
----------------------------------------
I think I just spotted a thinko in my logic. Buffered should return true if we
do not have a delivery yet or if delivery is still buffered:
{code}
- return d && pn_delivery_buffered(d);
+ return !d || pn_delivery_buffered(d);
{code}
> Allow querying of unsent messages by tracker
> --------------------------------------------
>
> Key: PROTON-290
> URL: https://issues.apache.org/jira/browse/PROTON-290
> Project: Qpid Proton
> Issue Type: New Feature
> Reporter: Bozo Dragojevic
> Assignee: Rafael H. Schloming
> Fix For: 0.6
>
> Attachments:
> 0001-PROTON-393-check-if-delivery-is-still-buffered-by-pr.patch
>
>
> messenger.status(tracker) returns PENDING until the message is either
> accepted or rejected by the recipient.
> Allow distinguishing between buffered locally and transmitted messages.
--
This message was sent by Atlassian JIRA
(v6.1#6144)