shutdown
|
nofailover (Boolean)
time (Long)
|
None
|
Shut down broker
If nofailover is false or null, another broker will attempt to take over for this broker
when it shuts down; this applies only to brokers in a high-availability (HA) cluster. If nofailover is true, no such takeover attempt will occur.
The time parameter specifies the interval, in
seconds, before the broker actually shuts down; for immediate shutdown, specify 0 or null.
|
shutdown
|
None
|
None
|
Shut down broker immediately
If the broker is part of a high-availability
(HA) cluster, another broker will attempt to take over
for it.
Equivalent to shutdown(Boolean.FALSE, new Long(0)).
|
restart
|
None
|
None
|
Restart broker
|
quiesce
|
None
|
None
|
Quiesce broker
The broker will refuse any new connections; existing connections will
continue to be served.
|
unquiesce
|
None
|
None
|
Unquiesce broker
The broker will again accept new connections.
|
takeover [HA clusters only]
|
brokerID (String)
|
None
|
Initiate takeover from specified broker
The desired broker is designated by its broker identifier (brokerID).
|
resetMetrics
|
None
|
None
|
Reset metrics
Resets to zero all metrics in monitor MBeans that track cumulative,
peak, or average counts. The following attributes are affected:
|
|
|
|
Service monitor
NumConnectionsOpened
NumConnectionsRejected
NumMsgsIn
NumMsgsOut
MsgBytesIn
MsgBytesOut
NumPktsIn
NumPktsOut
PktBytesIn
PktBytesOut
|
|
|
|
Service manager monitor
NumMsgsIn
NumMsgsOut
MsgBytesIn
MsgBytesOut
NumPktsIn
NumPktsOut
PktBytesIn
PktBytesOut
|
|
|
|
Connection manager monitor
NumConnectionsOpened
NumConnectionsRejected
|
|
|
|
Destination monitor
PeakNumConsumers
AvgNumConsumers
PeakNumActiveConsumers
AvgNumActiveConsumers
PeakNumBackupConsumers
AvgNumBackupConsumers
PeakNumMsgs
AvgNumMsgs
NumMsgsIn
NumMsgsOut
MsgBytesIn
MsgBytesOut
PeakMsgBytes
PeakTotalMsgBytes
AvgTotalMsgBytes
|
|
|
|
Transaction manager monitor
NumTransactionsCommitted
NumTransactionsRollback
|