src/main/java/io/arivera/oss/embedded/rabbitmq/bin/RabbitMqPlugins.java
public void disable(String plugin) throws RabbitMqCommandException {
    String[] args = {"disable", plugin};
    String executionErrorMessage = "Error while disabling plugin '" + plugin + "'";
    String unexpectedExitCodeMessage = "Disabling of plugin '" + plugin + "' failed with exit code: ";

    getProcessResult(args, executionErrorMessage, unexpectedExitCodeMessage);
  }
public void disable(String plugin) throws RabbitMqCommandException {
    String[] args = {"disable", plugin};
    String executionErrorMessage = "Error while disabling plugin '" + plugin + "'";
    String unexpectedExitCodeMessage = "Disabling of plugin '" + plugin + "' failed with exit code: ";

    getProcessResult(args, executionErrorMessage, unexpectedExitCodeMessage);
  }
public void disable ( String plugin ) throws RabbitMqCommandException { String [ ] args = { "disable" , plugin } ; String executionErrorMessage = "Error while disabling plugin '" + plugin + "'" ; String unexpectedExitCodeMessage = "Disabling of plugin '" + plugin + "' failed with exit code: " ; getProcessResult ( args , executionErrorMessage , unexpectedExitCodeMessage ) ; }
Disables the given plugin by executing {@code rabbitmq-plugins disable {plugin}} and blocks until the call is
finished.

@param plugin the name of the plugin to disable.

@throws RabbitMqCommandException if the command cannot be executed, it doesn't
{@link EmbeddedRabbitMqConfig.Builder#defaultRabbitMqCtlTimeoutInMillis(long)
finish in time} or exits unexpectedly
Disables the given plugin by executing { @code rabbitmq - plugins disable { plugin }} and blocks until the call is finished .