Interface BrokerConnectionControl
- All Superinterfaces:
ActiveMQComponentControl
An API for a BrokerConnectionControl object that is used to view and manage BrokerConnection state.
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the name of this broker connectionReturns the wire protocol this broker connection is using.int
Returns the number of reconnection attempts configured for this broker connection.long
Returns the retry interval configured for this broker connection.getUri()
Returns the connection URI for this broker connection.getUser()
Returns the user this broker connection is using.boolean
Returns if this broker connection is currently connected to the remote.Methods inherited from interface org.apache.activemq.artemis.api.core.management.ActiveMQComponentControl
isStarted, start, stop
-
Method Details
-
isConnected
boolean isConnected()Returns if this broker connection is currently connected to the remote. -
getName
String getName()Returns the name of this broker connection -
getUri
String getUri()Returns the connection URI for this broker connection. -
getUser
String getUser()Returns the user this broker connection is using. -
getProtocol
String getProtocol()Returns the wire protocol this broker connection is using. -
getRetryInterval
long getRetryInterval()Returns the retry interval configured for this broker connection. -
getReconnectAttempts
int getReconnectAttempts()Returns the number of reconnection attempts configured for this broker connection.
-