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

Robbie Gemmell commented on PROTON-1409:
----------------------------------------

For later reference, it turns out this functionality was already present via 
the Delivery#pending() method added in https://svn.apache.org/r1491719. Oops.

> expose the number of bytes currently available for the delivery
> ---------------------------------------------------------------
>
>                 Key: PROTON-1409
>                 URL: https://issues.apache.org/jira/browse/PROTON-1409
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: proton-j
>            Reporter: clebert suconic
>            Assignee: Robbie Gemmell
>             Fix For: proton-j-0.18.0
>
>
> When I'm receiving the Delivery on the broker, I have to pre-create a buffer 
> to copy the byte array inside the Delivery.
> I would like to have it exposed so I only allocated the required bytes.
> I will follow up with a PR on this



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to