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 2015/07/09 06:51:05 UTC

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

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