[rabbitmq-discuss] bug report?

Emile Joubert emile at rabbitmq.com
Wed Mar 14 12:19:15 GMT 2012


Hi Michael,

On 13/03/12 14:25, Michael Lam wrote:
> If in case this mailing list is the bug report (I saw a 2008 thread to
> this effect), here's the bug:

Yes please, we invite bug reports on this mailing list.

> In the 2.7.1 Java client library, RpcClient.java
> 
> RpcClient.stringCall does not encode the message in UTF-8 as it's
> expected by StringRpcServer.handleCall, resulting in corrupted message
> received by the server if the message contains non-ASCII characters.
> 
> Fix is quite easy:

I see what you meant. There is a lack of symmetry between the getBytes()
methods used in RpcClient and StringRpcServer.

Thanks for reporting this and for your suggested solution. I will make
sure this receives attention.


-Emile


More information about the rabbitmq-discuss mailing list