qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kim van der Riet (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPIDIT-9) AMQP type binary fails in QpidJms -> QpidJms test
Date Thu, 09 Jul 2015 04:51:05 GMT
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


Mime
View raw message