@ShellCommandGroup(value="ActiveMQ Commands")
@ShellComponent
public class ActiveMqShellInterface
extends org.ar4k.agent.helper.AbstractShellHelper
| Constructor and Description |
|---|
ActiveMqShellInterface() |
| Modifier and Type | Method and Description |
|---|---|
long |
activeMqListConnections() |
void |
activeMqStart(@Valid ActiveMqConfig activeMqConfig) |
void |
activeMqStop() |
java.lang.String |
activeMqUptime() |
org.apache.activemq.artemis.core.server.metrics.MetricsManager |
activeMqUsage() |
void |
addActiveMq(@Valid ActiveMqConfig activeMqConfig) |
protected org.springframework.shell.Availability |
testActiveMQNull() |
protected org.springframework.shell.Availability |
testActiveMQRunning() |
addConfig, addUser, cloneConfigHelper, getConfigs, getSessionId, getWorkingConfig, getWorkingService, isUnix, isUnixAndSessionOk, listMbeans, modifyService, printOnTerminal, readFromFile, readStringParameterOnTerminal, removeUser, runShellTest, selectedConfigurationAndOneSslKey, sessionFalse, sessionOk, sessionOkOrStatusInit, setWorkingConfig, testIsRunningOk, testListConfigOk, testOk, testRuntimeConfigOk, testSelectedConfigOk, testSelectedServiceOk, waitingConsoleprotected org.springframework.shell.Availability testActiveMQNull()
protected org.springframework.shell.Availability testActiveMQRunning()
@ShellMethod(value="Add ActiveMQ MQTT broker configuration",
group="ActiveMQ Commands")
@ManagedOperation
@ShellMethodAvailability(value="testSelectedConfigOk")
public void addActiveMq(@ShellOption(optOut=true) @Valid
@Valid ActiveMqConfig activeMqConfig)
@ShellMethod(value="Start ActiveMQ MQTT broker",
group="ActiveMQ Commands")
@ManagedOperation
@ShellMethodAvailability(value="testActiveMQNull")
public void activeMqStart(@ShellOption(optOut=true) @Valid
@Valid ActiveMqConfig activeMqConfig)
@ShellMethod(value="Stop ActiveMQ MQTT broker",
group="ActiveMQ Commands")
@ManagedOperation
@ShellMethodAvailability(value="testActiveMQRunning")
public void activeMqStop()
throws java.lang.Exception
java.lang.Exception@ShellMethod(value="Get ActiveMQ MQTT broker uptime",
group="ActiveMQ Commands")
@ManagedOperation
@ShellMethodAvailability(value="testActiveMQRunning")
public java.lang.String activeMqUptime()
throws java.lang.Exception
java.lang.Exception@ShellMethod(value="List active connection to ActiveMQ MQTT broker",
group="ActiveMQ Commands")
@ManagedOperation
@ShellMethodAvailability(value="testActiveMQRunning")
public long activeMqListConnections()
throws java.lang.Exception
java.lang.Exception@ShellMethod(value="Get System usage of ActiveMQ MQTT broker",
group="ActiveMQ Commands")
@ManagedOperation
@ShellMethodAvailability(value="testActiveMQRunning")
public org.apache.activemq.artemis.core.server.metrics.MetricsManager activeMqUsage()
throws java.lang.Exception
java.lang.Exception