if (message.getContent().hasRemaining()) {
// get the frame(s) content
Buffer buffer = message.getContent();
message.recycle();
final ReadHandler readHandler = tyrusConnection.getReadHandler();
TaskProcessor taskProcessor = getTaskProcessor(ctx);
if (!buffer.isComposite()) {
taskProcessor.processTask(new ProcessTask(buffer.toByteBuffer(), readHandler));
} else {
final ByteBufferArray byteBufferArray = buffer.toByteBufferArray();