qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robbie Gemmell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PROTON-1409) expose the number of bytes currently available for the delivery
Date Thu, 25 May 2017 13:50:04 GMT

    [ 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message