Managing Amazon MQ for ActiveMQ engine versions - Amazon MQ
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Managing Amazon MQ for ActiveMQ engine versions

Apache ActiveMQ organizes version numbers according to semantic versioning specification as X.Y.Z. In Amazon MQ for ActiveMQ implementations, X.Y denotes the major version, and Z represents the minor version number. Amazon MQ considers a version change to be major if the major version numbers change. For example, upgrading from version 5.15 to 5.16 is considered a major version upgrade. A version change is considered minor if only the minor version number changes. For example, upgrading from version 5.15.14 to 5.15.15 is considered a minor version upgrade.

Amazon MQ for ActiveMQ currently supports the following engine versions of Apache ActiveMQ.

Major versions Minor versions
ActiveMQ 5.17
  • 5.17.6 (recommended)

ActiveMQ 5.16
  • 5.16.7

ActiveMQ 5.15
  • 5.15.16

The following minor versions have been deprecated.

Major versions Minor versions
ActiveMQ 5.17
  • 5.17.3

  • 5.17.2

  • 5.17.1

ActiveMQ 5.16
  • 5.16.5

  • 5.16.4

  • 5.16.3

  • 5.16.2

ActiveMQ 5.15
  • 5.15.15

  • 5.15.14

  • 5.15.13

  • 5.15.12

  • 5.15.10

  • 5.15.9

  • 5.15.8

  • 5.15.6

  • 5.15.0

When you create a new Amazon MQ for ActiveMQ broker, you can specify any supported ActiveMQ engine version. If you use the Amazon Web Services Management Console to create a broker, Amazon MQ automatically defaults to the latest engine version number. If you use the Amazon CLI or the Amazon MQ API to create a broker, the engine version number is required. If you don't provide a version number, the operation will result in an exception. To learn more, see create-broker in the Amazon CLI Command Reference and CreateBroker in the Amazon MQ REST API Reference.

Major and minor version upgrades

With Amazon MQ, you control when to upgrade your brokers to new versions. When automatic minor version upgrade is activated, Amazon MQ will automatically upgrade your broker engine to new minor versions as they are released and supported by Amazon MQ.

To perform a major version upgrade, you must manually upgrade your broker's engine version number. Minor and major version upgrades occure at the same time as other broker patching operations, during your scheduled maintenance window. If you opt out of automatic minor version upgrades, you can manually upgrade your broker to a new supported minor version by following the same procedure as a major upgrade.

For more information about updating your broker preferences to activate or deactivate minor version upgrades, and manually upgrading your broker, see Upgrading an Amazon MQ broker engine version.

Listing supported engine versions

You can list all supported minor and major engine versions by using the describe-broker-instance-options Amazon CLI command.

aws mq describe-broker-instance-options

To filter the results by engine and instance type use the --engine-type and --host-instance-type options as shown in the following.

aws mq describe-broker-instance-options --engine-type engine-type --host-instance-type instance-type

For example, to filter the results for ActiveMQ, and mq.m5.large instance type, replace engine-type with ACTIVEMQ and instance-type with mq.m5.large.