activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From khandelwalanuj <khandelwal.anu...@gmail.com>
Subject ActiveMQ Stomp producer messages size limitation
Date Tue, 13 Jan 2015 14:05:27 GMT
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.

Mime
View raw message