You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Kim van der Riet (JIRA)" <ji...@apache.org> on 2017/11/07 15:58:00 UTC

[jira] [Updated] (QPIDIT-9) AMQP type binary fails in QpidJms -> QpidJms test

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

Kim van der Riet updated QPIDIT-9:
----------------------------------
    Priority: Minor  (was: Major)

> AMQP type binary fails in QpidJms -> QpidJms test
> -------------------------------------------------
>
>                 Key: QPIDIT-9
>                 URL: https://issues.apache.org/jira/browse/QPIDIT-9
>             Project: Apache QPID Interoperability Test Suite
>          Issue Type: Bug
>          Components: Qpid Jms Shim
>    Affects Versions: 0.1.0
>            Reporter: Kim van der Riet
>            Assignee: Kim van der Riet
>            Priority: Minor
>
> The AMQP type binary fails in the QpidJms to QpidJms test with the following error:
> {noformat}
> AssertionError: 
>     sent:['', '12345', 'Hello, world!', '\x01\x02\x03\x04\x05abcde\x80\x81\xfe\xff']
> received:['', '12345', 'Hello, world!', '\x01\x02\x03\x04\x05abcde\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd']
> {noformat}
> The underlying issue is that the {{String.getBytes()}} method used by the ProtonJmsSender shim does not handle hex values > \x7f (which is the limit of ASCII encoding), so some other means of processing the hex string into a {{byte[]}} must be found.



--
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