public class ConnectionFactory<T extends ConnectionFactory<T>> extends Object
Constructor and Description |
---|
ConnectionFactory(String key) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
T |
connector(String value)
Defines the connectors.
|
List<String> |
connectors()
Defines the connectors.
|
T |
connectors(List<String> value)
Defines the connectors.
|
T |
connectors(String... args)
Defines the connectors.
|
String |
discoveryGroup()
The discovery group name.
|
T |
discoveryGroup(String value)
The discovery group name.
|
Boolean |
enableAmq1Prefix()
Enable the use of ActiveMQ 1.5.x prefixes in the addresses.
|
T |
enableAmq1Prefix(Boolean value)
Enable the use of ActiveMQ 1.5.x prefixes in the addresses.
|
List<String> |
entries()
The jndi names the connection factory should be bound to.
|
T |
entries(List<String> value)
The jndi names the connection factory should be bound to.
|
T |
entries(String... args)
The jndi names the connection factory should be bound to.
|
T |
entry(String value)
The jndi names the connection factory should be bound to.
|
FactoryType |
factoryType()
The type of connection factory.
|
T |
factoryType(FactoryType value)
The type of connection factory.
|
String |
getKey() |
Boolean |
ha()
Whether the connection factory supports High Availability.
|
T |
ha(Boolean value)
Whether the connection factory supports High Availability.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Boolean |
useTopologyForLoadBalancing()
Whether to use topology information from the cluster to connect to it.
|
T |
useTopologyForLoadBalancing(Boolean value)
Whether to use topology information from the cluster to connect to it.
|
public ConnectionFactory(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public List<String> connectors()
public T connectors(List<String> value)
public T connector(String value)
public T connectors(String... args)
public String discoveryGroup()
public Boolean enableAmq1Prefix()
public T enableAmq1Prefix(Boolean value)
public T entries(List<String> value)
public FactoryType factoryType()
public T factoryType(FactoryType value)
public Boolean ha()
public Boolean useTopologyForLoadBalancing()
Copyright © 2020 JBoss by Red Hat. All rights reserved.