Skip to content

Latest commit

 

History

History
57 lines (40 loc) · 1.87 KB

File metadata and controls

57 lines (40 loc) · 1.87 KB

ActiveMQ

Testcontainers module for ActiveMQ and Artemis.

ActiveMQContainer's usage examples

You can start an ActiveMQ Classic container instance from any Java application by using:

Default ActiveMQ container inside_block:container

With custom credentials:

Setting custom credentials inside_block:settingCredentials

ArtemisContainer's usage examples

You can start an ActiveMQ Artemis container instance from any Java application by using:

Default Artemis container inside_block:container

With custom credentials:

Setting custom credentials inside_block:settingCredentials

With anonymous login:

Allow anonymous login inside_block:enableAnonymousLogin

Adding this module to your project dependencies

Add the following dependency to your pom.xml/build.gradle file:

=== "Gradle" groovy testImplementation "org.testcontainers:testcontainers-activemq:{{latest_version}}"

=== "Maven" xml <dependency> <groupId>org.testcontainers</groupId> <artifactId>testcontainers-activemq</artifactId> <version>{{latest_version}}</version> <scope>test</scope> </dependency>