On 3/14/07, Thomas Gagné <[EMAIL PROTECTED]> wrote:
We have a similar problem with very large messages > 1MB and built a
stream over them so that whenever the buffer hits 20KB it flushes the
message to the client with a header indicating there's more.  That
allows the client to construct a stream on their queue and read the
response in 20KB chunks.  Not only does this get around the problem you
describe, but the messages exchanged in smaller chunks makes the
application a better network citizen.

Fancy contributing code? :)
http://activemq.apache.org/contributing.html

BTW we're working on BlobMessage support for out-of-band transfer of
massive files
http://activemq.apache.org/blob-messages.html

--

James
-------
http://radio.weblogs.com/0112098/

Reply via email to