You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Justin Ross (JIRA)" <ji...@apache.org> on 2017/07/19 21:24:00 UTC

[jira] [Updated] (PROTON-265) Change Message#decode to signal inability to decode entire buffer via exception rather than return value

     [ https://issues.apache.org/jira/browse/PROTON-265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Ross updated PROTON-265:
-------------------------------
    Fix Version/s:     (was: 0.18.0)
                   proton-j-0.20.0

> Change Message#decode to signal inability to decode entire buffer via exception rather than return value
> --------------------------------------------------------------------------------------------------------
>
>                 Key: PROTON-265
>                 URL: https://issues.apache.org/jira/browse/PROTON-265
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: proton-j
>            Reporter: Keith Wall
>             Fix For: proton-j-0.20.0
>
>
> Change Message#decode signature to throw an exception in the case where the decoder fails to decode all the bytes in the input buffer, rather than returning the number of bytes actually decoded.
> This will make the Java implementation more closely follow the Proton-C.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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