Class BrokerConnectConfiguration
- java.lang.Object
-
- org.apache.activemq.artemis.core.config.brokerConnectivity.BrokerConnectConfiguration
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AMQPBrokerConnectConfiguration
public abstract class BrokerConnectConfiguration extends Object implements Serializable
This is base class for outgoing broker configuration types. This is a new feature that at the time we introduced, is only being used for AMQP. Where the broker will create a connection towards another broker using a specific protocol.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BrokerConnectConfiguration(String name, String uri)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getName()
String
getPassword()
int
getReconnectAttempts()
int
getRetryInterval()
String
getUri()
String
getUser()
int
hashCode()
boolean
isAutostart()
abstract void
parseURI()
BrokerConnectConfiguration
setAutostart(boolean autostart)
BrokerConnectConfiguration
setName(String name)
BrokerConnectConfiguration
setPassword(String password)
BrokerConnectConfiguration
setReconnectAttempts(int reconnectAttempts)
BrokerConnectConfiguration
setRetryInterval(int retryInterval)
BrokerConnectConfiguration
setUri(String uri)
BrokerConnectConfiguration
setUser(String user)
-
-
-
Method Detail
-
getReconnectAttempts
public int getReconnectAttempts()
-
setReconnectAttempts
public BrokerConnectConfiguration setReconnectAttempts(int reconnectAttempts)
-
getUser
public String getUser()
-
setUser
public BrokerConnectConfiguration setUser(String user)
-
getPassword
public String getPassword()
-
setPassword
public BrokerConnectConfiguration setPassword(String password)
-
getRetryInterval
public int getRetryInterval()
-
setRetryInterval
public BrokerConnectConfiguration setRetryInterval(int retryInterval)
-
getUri
public String getUri()
-
setUri
public BrokerConnectConfiguration setUri(String uri)
-
getName
public String getName()
-
setName
public BrokerConnectConfiguration setName(String name)
-
isAutostart
public boolean isAutostart()
-
setAutostart
public BrokerConnectConfiguration setAutostart(boolean autostart)
-
-