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