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
public class AMQPBrokerConnectConfiguration extends BrokerConnectConfiguration
This is a specific AMQP Broker Connection Configuration- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AMQPBrokerConnectConfiguration()
AMQPBrokerConnectConfiguration(String name, String uri)
-
Method Summary
-
Methods inherited from class org.apache.activemq.artemis.core.config.brokerConnectivity.BrokerConnectConfiguration
getName, getPassword, getReconnectAttempts, getRetryInterval, getUri, getUser, isAutostart
-
-
-
-
Method Detail
-
addElement
public AMQPBrokerConnectConfiguration addElement(AMQPBrokerConnectionElement amqpBrokerConnectionElement)
-
addConnectionElement
public AMQPBrokerConnectConfiguration addConnectionElement(AMQPMirrorBrokerConnectionElement amqpBrokerConnectionElement)
-
getConnectionElements
public List<AMQPBrokerConnectionElement> getConnectionElements()
-
addFederation
public AMQPBrokerConnectConfiguration addFederation(AMQPFederatedBrokerConnectionElement amqpFederationElement)
-
getFederations
public List<AMQPBrokerConnectionElement> getFederations()
-
addMirror
public AMQPBrokerConnectConfiguration addMirror(AMQPMirrorBrokerConnectionElement amqpMirrorBrokerConnectionElement)
-
getMirrors
public List<AMQPBrokerConnectionElement> getMirrors()
-
addPeer
public AMQPBrokerConnectConfiguration addPeer(AMQPBrokerConnectionElement element)
-
getPeers
public List<AMQPBrokerConnectionElement> getPeers()
-
addSender
public AMQPBrokerConnectConfiguration addSender(AMQPBrokerConnectionElement element)
-
getSenders
public List<AMQPBrokerConnectionElement> getSenders()
-
addReceiver
public AMQPBrokerConnectConfiguration addReceiver(AMQPBrokerConnectionElement element)
-
getReceivers
public List<AMQPBrokerConnectionElement> getReceivers()
-
parseURI
public void parseURI() throws Exception
- Specified by:
parseURI
in classBrokerConnectConfiguration
- Throws:
Exception
-
getTransportConfigurations
public List<TransportConfiguration> getTransportConfigurations() throws Exception
- Throws:
Exception
-
setReconnectAttempts
public AMQPBrokerConnectConfiguration setReconnectAttempts(int reconnectAttempts)
- Overrides:
setReconnectAttempts
in classBrokerConnectConfiguration
-
setUser
public AMQPBrokerConnectConfiguration setUser(String user)
- Overrides:
setUser
in classBrokerConnectConfiguration
-
setRetryInterval
public AMQPBrokerConnectConfiguration setRetryInterval(int retryInterval)
- Overrides:
setRetryInterval
in classBrokerConnectConfiguration
-
setPassword
public AMQPBrokerConnectConfiguration setPassword(String password)
- Overrides:
setPassword
in classBrokerConnectConfiguration
-
setUri
public AMQPBrokerConnectConfiguration setUri(String uri)
- Overrides:
setUri
in classBrokerConnectConfiguration
-
setName
public AMQPBrokerConnectConfiguration setName(String name)
- Overrides:
setName
in classBrokerConnectConfiguration
-
setAutostart
public AMQPBrokerConnectConfiguration setAutostart(boolean autostart)
- Overrides:
setAutostart
in classBrokerConnectConfiguration
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classBrokerConnectConfiguration
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classBrokerConnectConfiguration
-
-