You use String as payload so it might use UTF-8 as encoding. Your string is not 
typicall set of bytes, it is set of characters. Make sure first that you write 
a 6 byte string, not string with 6 characters.

Best regards,
Lukasz
--
Code-House
http://code-house.org

Wiadomość napisana przez xiangqiuzhao w dniu 2012-01-09, o godz. 16:43:

> sorry, my server recved 14bytes.
> 
> client in Camel send "230111" string.
> 
> but server recved "0000000A05740006323338303131" by hex string
> 
> why had 8bytes with 0000000A05740006 ?
> 
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/in-netty-why-sended-6bytes-but-server-recved-9bytes-tp5131271p5131578.html
> Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to