src/main/java/io/arivera/oss/embedded/rabbitmq/EmbeddedRabbitMq.java
public void stop() throws ShutDownException {
    if (rabbitMqProcess == null) {
      throw new IllegalStateException("Stop shouldn't be called unless 'start()' was successful.");
    }
    new ShutdownHelper(config, rabbitMqProcess).run();
    rabbitMqProcess = null;
  }
public void stop() throws ShutDownException {
    if (rabbitMqProcess == null) {
      throw new IllegalStateException("Stop shouldn't be called unless 'start()' was successful.");
    }
    new ShutdownHelper(config, rabbitMqProcess).run();
    rabbitMqProcess = null;
  }
Submits the command to stop RabbitMQ and blocks the current thread until the shutdown is completed.

@throws ShutDownException if there's an issue shutting down the RabbitMQ server