Activemq stomp pier

What I am trying to do is send a message between 20-120KB using stomp via websocket for the topic and below error is thrown, I tried to increase requestBufferSize and ResponseBuffersize to 512000 value with no effect. Any help is appreciated.

WARN | Failed to execute command java.lang.IllegalStateException: FULLY on org.eclipse.jetty.websocket.WebSocketParserD00.parseNext (WebSocketParserD00.java:104) in org.eclipse.jetty.websocket.WebSocketConnectionD00.websocket.WebSocketConnectionD00. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle (SelectChannelEndPoint.java"45) at org.eclipse.jetty.io.nio.SelectChannelEndPoint $ 1.run (SelectChannelEndPoint.java:43) at org.eclipse.jetty. .thread.QueuedThreadPool.runJob (QueuedThreadPool.java:598) at org.eclipse.jetty.util.thread.QueuedThreadPool $ 3.run (QueuedThreadPool.java:533) at java.lang.Thread.run (Thread.java:722)

+3


source to share


1 answer


The primary problem I see is that you are using the very first websocket protocol project. This is indicated by D00 in your stack trace.

You want to use the RFC6455 version as it is actually a websocket protocol.

WebSocketConnectionRFC6455 etc.



Please use the latest version 7.6.x or 8.1.x of the berth and fix the links to the old version. These projects have been kept for some backward compatibility and are likely to be removed sooner or later.

(so his protocol cleanup was not backward compatible for changes until about draft 13, I think it was ... so it's probably a protocol mismatch)

+1


source







All Articles