Can I send really large files over ActiveMQ

 FAQ > Using Apache ActiveMQ > Can I send really large files over ActiveMQ

Can I send really large files over ActiveMQ

The answer is yes.

If you are using ActiveMQ 4.2 or later we highly recommend you use Blob Messages 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 <-> subscriber communication or publisher -> broker/file server -> consumer messaging.

For 4.1 or ealier large file transfer is achieved using JMS Streams.

Normally the JMS API expects the entire JMS messsage to reside in the client side memory; however using Blob Messages or JMS Streams allows you to send and receive arbitrarily large files with very low RAM overhead.

Apache ActiveMQ, ActiveMQ, ActiveMQ Artemis, Apache, the Apache feather logo, and the Apache ActiveMQ project logo are trademarks of The Apache Software Foundation. Copyright © 2019, The Apache Software Foundation. Licensed under Apache License 2.0.