Class AMQPBrokerConnectConfiguration
java.lang.Object
org.apache.activemq.artemis.core.config.brokerConnectivity.BrokerConnectConfiguration
org.apache.activemq.artemis.core.config.amqpBrokerConnectivity.AMQPBrokerConnectConfiguration
- All Implemented Interfaces:
Serializable
This is a specific AMQP Broker Connection Configuration
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConnectionElement
(AMQPMirrorBrokerConnectionElement amqpBrokerConnectionElement) addElement
(AMQPBrokerConnectionElement amqpBrokerConnectionElement) addFederation
(AMQPFederatedBrokerConnectionElement amqpFederationElement) addMirror
(AMQPMirrorBrokerConnectionElement amqpMirrorBrokerConnectionElement) addPeer
(AMQPBrokerConnectionElement element) addReceiver
(AMQPBrokerConnectionElement element) addSender
(AMQPBrokerConnectionElement element) boolean
getPeers()
int
hashCode()
void
parseURI()
setAutostart
(boolean autostart) setPassword
(String password) setReconnectAttempts
(int reconnectAttempts) setRetryInterval
(int retryInterval) Methods inherited from class org.apache.activemq.artemis.core.config.brokerConnectivity.BrokerConnectConfiguration
getName, getPassword, getReconnectAttempts, getRetryInterval, getUri, getUser, isAutostart
-
Constructor Details
-
AMQPBrokerConnectConfiguration
public AMQPBrokerConnectConfiguration() -
AMQPBrokerConnectConfiguration
-
-
Method Details
-
addElement
public AMQPBrokerConnectConfiguration addElement(AMQPBrokerConnectionElement amqpBrokerConnectionElement) -
addConnectionElement
public AMQPBrokerConnectConfiguration addConnectionElement(AMQPMirrorBrokerConnectionElement amqpBrokerConnectionElement) -
getConnectionElements
-
addFederation
public AMQPBrokerConnectConfiguration addFederation(AMQPFederatedBrokerConnectionElement amqpFederationElement) -
getFederations
-
addMirror
public AMQPBrokerConnectConfiguration addMirror(AMQPMirrorBrokerConnectionElement amqpMirrorBrokerConnectionElement) -
getMirrors
-
addPeer
-
getPeers
-
addSender
-
getSenders
-
addReceiver
-
getReceivers
-
parseURI
- Specified by:
parseURI
in classBrokerConnectConfiguration
- Throws:
Exception
-
getTransportConfigurations
- Throws:
Exception
-
setReconnectAttempts
- Overrides:
setReconnectAttempts
in classBrokerConnectConfiguration
-
setUser
- Overrides:
setUser
in classBrokerConnectConfiguration
-
setRetryInterval
- Overrides:
setRetryInterval
in classBrokerConnectConfiguration
-
setPassword
- Overrides:
setPassword
in classBrokerConnectConfiguration
-
setUri
- Overrides:
setUri
in classBrokerConnectConfiguration
-
setName
- Overrides:
setName
in classBrokerConnectConfiguration
-
setAutostart
- Overrides:
setAutostart
in classBrokerConnectConfiguration
-
hashCode
public int hashCode()- Overrides:
hashCode
in classBrokerConnectConfiguration
-
equals
- Overrides:
equals
in classBrokerConnectConfiguration
-