blob: 9c4df4d023b10219ebf62d3ccce9c28e097d3d84 [file] [log] [blame]
<div class="wiki-content maincontent"><h2>Can I send really large files over ActiveMQ</h2>
<p>The answer is yes. </p>
<p>If you are using ActiveMQ 4.2 or later we highly recommend you use <link><page ri:content-title="Blob Messages"></page></link> which implements an out of band transport of the messages; it allows the files to be hosted on external http/ftp sites if required and can support either direct publisher &lt;-&gt; subscriber communication or publisher -&gt; broker/file server -&gt; consumer messaging.</p>
<p>For 4.1 or ealier large file transfer is achieved using <link><page ri:content-title="JMS Streams"></page></link>. </p>
<p>Normally the JMS API expects the entire JMS messsage to reside in the client side memory; however using <link><page ri:content-title="Blob Messages"></page></link> or <link><page ri:content-title="JMS Streams"></page></link> allows you to send and receive arbitrarily large files with very low RAM overhead.</p>
</div>