Managing Amazon MQ for ActiveMQ engine versions - Amazon MQ

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.16
  • 5.16.2 (recommended)

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

Note

ActiveMQ 5.15.15 is the last minor version planned for the 5.15.x release. We recommend upgrading your brokers to the latest supported ActiveMQ major engine version, 5.16.x.

When you create a new Amazon MQ for ActiveMQ broker, you can specify any supported ActiveMQ engine version. If you use the AWS Management Console to create a broker, Amazon MQ automatically defaults to the latest engine version number. If you use the AWS 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 AWS 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 ActiveMQ 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 AWS 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.