Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
0.1.0
-
None
-
None
Description
The AMQP type binary fails in the QpidJms to QpidJms test with the following error:
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']
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.