activemq-classicactivemq-artemis

BlobMessages in ActiveMQ Classic?


In the last versions ActiveMQ Classic does not offer anymore the utility to store files transferred with blob messages. Does ActiveMQ Artemis have it? Which solution have you found?


Solution

  • In May of 2015 the fileserver was disabled by default via AMQ-5754. This change first appeared in versions 5.11.2 and 5.12. Then in May of 2016 (i.e. one year later) the fileserver was removed completely via AMQ-6276 under the assumption that anybody actually using blob messages would use a proper FTP or file server for their needs. This change first appeared in version 5.14.

    That said, blob messages were a kind of partial solution to the problem of moving large chunks of data via JMS since the blog message is just a kind of "pointer" and actually moving the data requires some out-of-band transport mechanism (e.g. HTTP, FTP, SCP).

    ActiveMQ Artemis has support for arbitrarily large messages which allows you to send potentially huge chunks of data to the broker using just the JMS API (i.e. no out-of-band transport mechanism required).