Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.45 KB

File metadata and controls

43 lines (35 loc) · 1.45 KB

embedded-rabbitmq

Maven dependency

pom.xml
<dependency>
    <groupId>com.playtika.testcontainers</groupId>
    <artifactId>embedded-rabbitmq</artifactId>
    <scope>test</scope>
</dependency>

Consumes (via bootstrap.properties)

  • embedded.rabbitmq.enabled (true|false, default is true)

  • embedded.rabbitmq.reuseContainer (true|false, default is false)

  • embedded.rabbitmq.password (default is 'rabbitmq')

  • embedded.rabbitmq.vhost (virtual host, default is '/')

  • embedded.rabbitmq.dockerImage (default is 'rabbitmq:4.0-alpine')

  • embedded.rabbitmq.waitTimeoutInSeconds (default is 60 seconds)

  • embedded.rabbitmq.enabledPlugins (list of strings, e.g. `rabbitmq_consistent_hash_exchange, defaults to an empty list)`

  • embedded.toxiproxy.proxies.rabbitmq.enabled Enables both creation of the container with ToxiProxy TCP proxy and a proxy to the embedded-rabbitmq container.

Produces

  • embedded.rabbitmq.host

  • embedded.rabbitmq.port

  • embedded.rabbitmq.user

  • embedded.rabbitmq.password

  • embedded.rabbitmq.vhost

  • embedded.rabbitmq.httpPort

  • embedded.rabbitmq.toxiproxy.host

  • embedded.rabbitmq.toxiproxy.port

  • embedded.rabbitmq.networkAlias

  • embedded.rabbitmq.internalPort

  • embedded.rabbitmq.internalHttpPort

  • Bean ToxiproxyContainer.ContainerProxy rabbitmqContainerProxy