Hi,

I am not able to send message more than 100MB to ActiveMQ broker. Producer
throws below exception: 

/[20150113 03:16:59:609 stomp_client.py:80 ERROR] Received an error:
org.apache.activemq.transport.stomp.ProtocolException: The maximum data
length was exceeded
        at
org.apache.activemq.transport.stomp.StompWireFormat.unmarshal(StompWireFormat.java:128)
        at
org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:221)
        at
org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:213)
        at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:196)
        at java.lang.Thread.run(Thread.java:745)/

I checked the source code
(http://activemq.apache.org/maven/apidocs/src-html/org/apache/activemq/transport/stomp/StompWireFormat.html)
and found that "private static final int MAX_DATA_LENGTH = 1024 * 1024 *
100;" is causing the issue. How can I change it ? what should I do to send
140 size messages ? 

Thanks,
Anuj



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/ActiveMQ-Stomp-producer-messages-size-limitation-tp4689847.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to