606162636465666768
while (true) { ReadMessage m = handle.messages().syncWait(); System.out.println(m.bytes().toString(Charsets.Utf8())); System.out.println(ChannelBuffers.hexDump(m.bytes())); m.ack().sync(); } } }