public class EmbeddedRabbitMq extends Object
Example use:
EmbeddedRabbitMqConfig config = new EmbeddedRabbitMqConfig.Builder().build();
EmbeddedRabbitMq rabbitMq = new EmbeddedRabbitMq(config);
rabbitMq.start();
// ...
rabbitMq.stop();
EmbeddedRabbitMqConfig| Constructor and Description |
|---|
EmbeddedRabbitMq(EmbeddedRabbitMqConfig config) |
public EmbeddedRabbitMq(EmbeddedRabbitMqConfig config)
public void start()
throws ErlangVersionException,
DownloadException,
ExtractionException,
StartupException
ErlangVersionException - when there's an issue with the system's Erlang versionDownloadException - when there's an issue downloading the appropriate artifactExtractionException - when there's an issue extracting the files from the downloaded artifactStartupException - when there's an issue starting the RabbitMQ serverpublic void stop()
throws ShutDownException
ShutDownException - if there's an issue shutting down the RabbitMQ serverCopyright © 2016–2017. All rights reserved.