Kim van der Riet created QPIDIT-9:
-------------------------------------
Summary: AMQP type binary fails in QpidJms -> QpidJms test
Key: QPIDIT-9
URL: https://issues.apache.org/jira/browse/QPIDIT-9
Project: Apache QPID IT
Issue Type: Bug
Components: SimpleTypeTestJmsShim
Reporter: Kim van der Riet
Assignee: Kim van der Riet
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.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]