Hi All,

I'm using the Websocket connector together with the MQTT connector with the
following settings:

<transportConnector name="mqtt" uri="mqtt://
0.0.0.0:1883?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600
"/>
<transportConnector name="ws" uri="ws://
0.0.0.0:61614?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600
"/>

When trying to send larger messages (~ 1MB) from a Websocket client, the
client disconnects. I can send the same message from an MQTT client. These
messages are successfully received by the Websocket client. I get the
following error in the ActiveMQ log:

org.eclipse.jetty.websocket.api.MessageTooLargeException: Binary message
size [130058] exceeds maximum size [65536]

What is the correct way to configure the max size for the Websocket
connections?
I'm running ActiveMQ 5.15.6, on Windows 10 (64 bit)

Thanks a lot,
Balint

Reply via email to