You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by MrTherrien <sa...@gmail.com> on 2016/01/20 15:50:21 UTC

ActiveMQ WebSocket configuration for large message

Hi,

I'm using ActiveMQ 5.10.0 with Stomp over WebSocket (stomp.js) and all work
fine when we send normal messages or receiving a large message.

But on my web client when i send a large message, my consumer didn't receive
the message and the communication seems broken after this.

In the ActiveMQ log, we can see the following warn:
2016-01-20 09:55:19,703 | WARN  | Transport Connection to:
StompSocket_1395780275 failed: java.io.IOException |
org.apache.activemq.broker.TransportConnection.Transport | qtp788638968-53

This is my ActiveMQ transportConnector for WebSocket:
<transportConnector name="ws"
uri="ws://0.0.0.0:61614?maximumConnections=1000&amp;wireFormat.maxFrameSize=2048576000&amp;wireFormat.maxDataLength=2048576000&amp;websocket.maxTextMessageSize=2048576000"/>

What can i do to send a large message to my consumer?
What i am doing wrong?

Thanks



--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-WebSocket-configuration-for-large-message-tp4706219.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: ActiveMQ WebSocket configuration for large message

Posted by MrTherrien <sa...@gmail.com>.
Ok, i will try with the version 5.12.0 and check if my problem was solve.

Thanks,



--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-WebSocket-configuration-for-large-message-tp4706219p4706238.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: ActiveMQ WebSocket configuration for large message

Posted by Timothy Bish <ta...@gmail.com>.
On 01/20/2016 09:50 AM, MrTherrien wrote:
> Hi,
>
> I'm using ActiveMQ 5.10.0 with Stomp over WebSocket (stomp.js) and all work
> fine when we send normal messages or receiving a large message.
>
> But on my web client when i send a large message, my consumer didn't receive
> the message and the communication seems broken after this.
>
> In the ActiveMQ log, we can see the following warn:
> 2016-01-20 09:55:19,703 | WARN  | Transport Connection to:
> StompSocket_1395780275 failed: java.io.IOException |
> org.apache.activemq.broker.TransportConnection.Transport | qtp788638968-53
>
> This is my ActiveMQ transportConnector for WebSocket:
> <transportConnector name="ws"
> uri="ws://0.0.0.0:61614?maximumConnections=1000&amp;wireFormat.maxFrameSize=2048576000&amp;wireFormat.maxDataLength=2048576000&amp;websocket.maxTextMessageSize=2048576000"/>
>
> What can i do to send a large message to my consumer?
> What i am doing wrong?
>
> Thanks
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-WebSocket-configuration-for-large-message-tp4706219.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
There was a lot of work done on WebSocket stuff for 5.11 and 5.12 so I'd
really recommend you try out the latest release before you chase this to
far. 

-- 
Tim Bish
twitter: @tabish121
blog: http://timbish.blogspot.com/