Search code examples
activemq-classicamazon-mq

How to use virtualSelectorCacheBrokerPlugin with Amazon MQ service


We aim to implement the virtualSelectorCacheBrokerPlugin on the AmazonMQ service to preserve selectors during subscriber outages, as outlined in the ActiveMQ Classic documentation.

However, the plugin necessitates specifying the external file location in the persistFile parameter e.g.

<virtualSelectorCacheBrokerPlugin persistFile="<some path>/selectorcache.data" />

Could someone please advise on the appropriate value to use for this parameter with the Amazon MQ service? It's worth noting that Amazon doesn't disclose the internal file system details of the service instance; only the storage type (e.g., Amazon Elastic File System) can be seen in the service configuration.


Solution

  • Amazon MQ only supports a subset of the plugins available for ActiveMQ Classic.
    The full list of supported plugins can be found in the AWS documentation: Elements Permitted in Amazon MQ Configurations.

    Since the virtualSelectorCacheBrokerPlugin is not mentioned in the AWS documentation, it is not supported by Amazon MQ.