Interface BrokerConnection
- All Superinterfaces:
ActiveMQComponent
A broker connection defines a server connection created to provide services between this server and another
instance.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the configuration that was used to create this broker connection.getName()Returns the unique name of the broker connection.Returns the protocol that underlies the broker connection implementation.default voidbooleanReturnstrueif the broker connection is currently connected to the remote.default voidshutdown()Methods inherited from interface org.apache.activemq.artemis.core.server.ActiveMQComponent
asyncStop, isStarted, start, stop
-
Method Details
-
initialize
- Throws:
Exception
-
shutdown
- Throws:
Exception
-
getName
String getName()Returns the unique name of the broker connection.- Returns:
- the unique name of the broker connection
-
getProtocol
String getProtocol()Returns the protocol that underlies the broker connection implementation.- Returns:
- the protocol that underlies the broker connection implementation
-
isConnected
boolean isConnected()Returnstrueif the broker connection is currently connected to the remote.- Returns:
trueif the broker connection is currently connected to the remote
-
getConfiguration
BrokerConnectConfiguration getConfiguration()Returns the configuration that was used to create this broker connection.- Returns:
- the configuration that was used to create this broker connection
-