Currently, Spring Boot supports ActiveMQ Service Connection for image symptoma/activemq through GenericContainer. Testcontainers 1.19.4 offers a new activemq module, which offers 2 flavours ActiveMQ Classic and Artemis. Artemis implementation has been already submitted in #39311. ActiveMQ Classic has started publishing images in Docker Hub for amd and arm.

My suggestions is: * Rename ActiveMQContainerConnectionDetailsFactory and deprecate it. * Add new ActiveMQContainerConnectionDetailsFactory to support ActiveMQContainer * Update examples and smoke tests to use ActiveMQContainer

After the release, add support in start.spring.io for ActiveMQContainer and ArtemisContainer.

I would like to get your feedback before submitting a PR. LMK if you have a different approach.

Thanks

Comment From: mhalbritter

I've updated 3.2.x and main to use Testcontainers 1.19.4.

I think the outlined way forward looks good. I'm not sure about the deprecation, though. As ActiveMQContainerConnectionDetailsFactory is not public, users will never see the deprecation.

Comment From: mhalbritter

When we do this, we should also support apache/activemq-classic in our Docker Compose support.

Comment From: scottfrederick

Closing in favor of #39363