Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 56671 invoked from network); 7 Mar 2007 22:31:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Mar 2007 22:31:00 -0000 Received: (qmail 51984 invoked by uid 500); 7 Mar 2007 22:31:08 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 51797 invoked by uid 500); 7 Mar 2007 22:31:07 -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 51788 invoked by uid 99); 7 Mar 2007 22:31:07 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2007 14:31:07 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [208.210.124.79] (HELO rune.pobox.com) (208.210.124.79) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2007 14:30:55 -0800 Received: from rune (localhost [127.0.0.1]) by rune.pobox.com (Postfix) with ESMTP id 430A9C0B66 for ; Wed, 7 Mar 2007 17:30:56 -0500 (EST) Received: from [10.15.6.78] (dsl017-051-162.sfo4.dsl.speakeasy.net [69.17.51.162]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by rune.sasl.smtp.pobox.com (Postfix) with ESMTP id B856DC0B31 for ; Wed, 7 Mar 2007 17:30:55 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <45EF30A4.8060709@wideopenwest.com> References: <45EF30A4.8060709@wideopenwest.com> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: quoted-printable From: Brian McCallister Subject: Re: stomp: how to send *really* big messages? Date: Wed, 7 Mar 2007 14:30:08 -0800 To: users@activemq.apache.org X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org On Mar 7, 2007, at 1:37 PM, Thomas Gagn=E9 wrote: > Let's pretend I want to stream 10MB of data to a client through =20 > ActiveMQ > as a response to a request. Let's also pretend I don't want to have to > hold the entire 10MB in the server all at once but instead would =20 > like to > feed it to the client in smaller pieces. Stomp has no mechanism for partitioning large messages. I would =20 suggest that for big chunks of data, the best way is probably to use =20 an out of band method, such as pushing the 10 megs to an http server =20 and sending the URL via a message. If you definitely want to send it via stomp, the best bet is probably =20= to partition it in the application layer and include a header with =20 the part number and total so it can be reassembled when all the parts =20= have arrived. -Brian