hornetq/hornetq — pull request #1370 by gaohoward (2013-11-07 04:56:26+00:00)
Title: using getBodyBuffer() to getBodyBufferCopy() in ServerMessageImpl.toString()

getBodyBuffer() will alter the readerIndex of the internal buffer of the message. This will
cause problem if the toString() is called before the message is marshaled to the netty.