final Buffer buffer = context.getMessage();
final int newSize = sizeInBytes + buffer.remaining();
if (newSize > maxPendingBytes) {
throw new PendingWriteQueueLimitExceededException(
"Max queued data limit exceeded: "
+ newSize + '>' + maxPendingBytes);
}
sizeInBytes = newSize;