Azure/qpid-proton-j-extensions WebSocketHandlerImpl throws an exception if the dsetination buffer is smaller than the message stream which seems to be hardcoded to 4KB plus some header info... from what i've read azure service bus allows messages up to 256KB, 1MB for premium, plus a 64KB header
is there anyway we can get this up'd to 256KB?
WebSocketHandlerImpl:
dstBuffer.clear();
if (dstBuffer.capacity() >= webSocketFrame.size()) {
dstBuffer.put(webSocketFrame.toByteArray());
} else {
throw new OutOfMemoryError("insufficient output buffer size");
}
} else {
WebSocketImpl:
private int maxFrameSize = (4 * 1024) + (16 * WebSocketHeader.MED_HEADER_LENGTH_MASKED);