Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4645610331 for ; Tue, 13 Jan 2015 14:08:52 +0000 (UTC) Received: (qmail 3725 invoked by uid 500); 13 Jan 2015 14:08:53 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 3676 invoked by uid 500); 13 Jan 2015 14:08:53 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 3661 invoked by uid 99); 13 Jan 2015 14:08:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2015 14:08:52 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,SPF_SOFTFAIL,URI_HEX,URI_TRY_3LD X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of khandelwal.anuj90@gmail.com does not designate 162.253.133.43 as permitted sender) Received: from [162.253.133.43] (HELO mwork.nabble.com) (162.253.133.43) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2015 14:08:27 +0000 Received: from mjoe.nabble.com (unknown [162.253.133.57]) by mwork.nabble.com (Postfix) with ESMTP id CD3BD105F984 for ; Tue, 13 Jan 2015 06:07:56 -0800 (PST) Date: Tue, 13 Jan 2015 06:05:27 -0800 (PST) From: khandelwalanuj To: users@activemq.apache.org Message-ID: <1421157927219-4689847.post@n4.nabble.com> Subject: ActiveMQ Stomp producer messages size limitation MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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.