vertx-rabbitmq-client
vertx-rabbitmq-client copied to clipboard
create buffer with default encoding
create buffer with default encoding.
Signed-off-by: Tcheutchoua Steve [email protected]
Motivation:
Current buffer creation uses, buffer(String string, String enc) Create a new buffer from a string and using the specified encoding. instead of buffer(String string)Create a new buffer from a string., hence passing the message as encoding.
So either, use default encoding, buffer(String) or update the current usage buffer(String, String) passing an encoding.