public class ConnectionFactory extends Object
| Constructor and Description |
|---|
ConnectionFactory(String key) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
autoGroup()
Whether or not message grouping is automatically used
|
ConnectionFactory |
autoGroup(Boolean value)
Whether or not message grouping is automatically used
|
Boolean |
blockOnAcknowledge()
True to set block on acknowledge.
|
ConnectionFactory |
blockOnAcknowledge(Boolean value)
True to set block on acknowledge.
|
Boolean |
blockOnDurableSend()
True to set block on durable send.
|
ConnectionFactory |
blockOnDurableSend(Boolean value)
True to set block on durable send.
|
Boolean |
blockOnNonDurableSend()
True to set block on non durable send.
|
ConnectionFactory |
blockOnNonDurableSend(Boolean value)
True to set block on non durable send.
|
Boolean |
cacheLargeMessageClient()
True to cache large messages.
|
ConnectionFactory |
cacheLargeMessageClient(Boolean value)
True to cache large messages.
|
Long |
callFailoverTimeout()
The timeout to use when fail over is in process (in ms).
|
ConnectionFactory |
callFailoverTimeout(Long value)
The timeout to use when fail over is in process (in ms).
|
Long |
callTimeout()
The call time out.
|
ConnectionFactory |
callTimeout(Long value)
The call time out.
|
Long |
clientFailureCheckPeriod()
The client failure check period.
|
ConnectionFactory |
clientFailureCheckPeriod(Long value)
The client failure check period.
|
String |
clientId()
The client id.
|
ConnectionFactory |
clientId(String value)
The client id.
|
Boolean |
compressLargeMessages()
Whether large messages should be compressed.
|
ConnectionFactory |
compressLargeMessages(Boolean value)
Whether large messages should be compressed.
|
Integer |
confirmationWindowSize()
The confirmation window size.
|
ConnectionFactory |
confirmationWindowSize(Integer value)
The confirmation window size.
|
String |
connectionLoadBalancingPolicyClassName()
Name of a class implementing a client-side load balancing policy that a client can use to load balance sessions across different nodes in a cluster.
|
ConnectionFactory |
connectionLoadBalancingPolicyClassName(String value)
Name of a class implementing a client-side load balancing policy that a client can use to load balance sessions across different nodes in a cluster.
|
Long |
connectionTtl()
The connection ttl.
|
ConnectionFactory |
connectionTtl(Long value)
The connection ttl.
|
List<String> |
connectors()
Defines the connectors.
|
ConnectionFactory |
connectors(List<String> value)
Defines the connectors.
|
Integer |
consumerMaxRate()
The consumer max rate.
|
ConnectionFactory |
consumerMaxRate(Integer value)
The consumer max rate.
|
Integer |
consumerWindowSize()
The consumer window size.
|
ConnectionFactory |
consumerWindowSize(Integer value)
The consumer window size.
|
String |
discoveryGroup()
The discovery group name.
|
ConnectionFactory |
discoveryGroup(String value)
The discovery group name.
|
Integer |
dupsOkBatchSize()
The dups ok batch size.
|
ConnectionFactory |
dupsOkBatchSize(Integer value)
The dups ok batch size.
|
List<String> |
entries()
The jndi names the connection factory should be bound to.
|
ConnectionFactory |
entries(List<String> value)
The jndi names the connection factory should be bound to.
|
String |
factoryType()
The type of connection factory.
|
ConnectionFactory |
factoryType(String value)
The type of connection factory.
|
Boolean |
failoverOnInitialConnection()
True to fail over on initial connection.
|
ConnectionFactory |
failoverOnInitialConnection(Boolean value)
True to fail over on initial connection.
|
String |
getKey() |
String |
groupId()
The group id.
|
ConnectionFactory |
groupId(String value)
The group id.
|
Boolean |
ha()
Whether the connection factory supports High Availability.
|
ConnectionFactory |
ha(Boolean value)
Whether the connection factory supports High Availability.
|
Long |
maxRetryInterval()
The max retry interval.
|
ConnectionFactory |
maxRetryInterval(Long value)
The max retry interval.
|
Integer |
minLargeMessageSize()
The min large message size.
|
ConnectionFactory |
minLargeMessageSize(Integer value)
The min large message size.
|
Boolean |
preAcknowledge()
True to pre-acknowledge.
|
ConnectionFactory |
preAcknowledge(Boolean value)
True to pre-acknowledge.
|
Integer |
producerMaxRate()
The producer max rate.
|
ConnectionFactory |
producerMaxRate(Integer value)
The producer max rate.
|
Integer |
producerWindowSize()
The producer window size.
|
ConnectionFactory |
producerWindowSize(Integer value)
The producer window size.
|
Integer |
reconnectAttempts()
The reconnect attempts.
|
ConnectionFactory |
reconnectAttempts(Integer value)
The reconnect attempts.
|
Long |
retryInterval()
The retry interval.
|
ConnectionFactory |
retryInterval(Long value)
The retry interval.
|
BigDecimal |
retryIntervalMultiplier()
The retry interval multiplier.
|
ConnectionFactory |
retryIntervalMultiplier(BigDecimal value)
The retry interval multiplier.
|
Integer |
scheduledThreadPoolMaxSize()
The scheduled thread pool max size.
|
ConnectionFactory |
scheduledThreadPoolMaxSize(Integer value)
The scheduled thread pool max size.
|
Integer |
threadPoolMaxSize()
The thread pool max size.
|
ConnectionFactory |
threadPoolMaxSize(Integer value)
The thread pool max size.
|
Integer |
transactionBatchSize()
The transaction batch size.
|
ConnectionFactory |
transactionBatchSize(Integer value)
The transaction batch size.
|
Boolean |
useGlobalPools()
True to use global pools.
|
ConnectionFactory |
useGlobalPools(Boolean value)
True to use global pools.
|
public ConnectionFactory(String key)
public String getKey()
public Boolean autoGroup()
public ConnectionFactory autoGroup(Boolean value)
public Boolean blockOnAcknowledge()
public ConnectionFactory blockOnAcknowledge(Boolean value)
public Boolean blockOnDurableSend()
public ConnectionFactory blockOnDurableSend(Boolean value)
public Boolean blockOnNonDurableSend()
public ConnectionFactory blockOnNonDurableSend(Boolean value)
public Boolean cacheLargeMessageClient()
public ConnectionFactory cacheLargeMessageClient(Boolean value)
public Long callFailoverTimeout()
public ConnectionFactory callFailoverTimeout(Long value)
public Long callTimeout()
public ConnectionFactory callTimeout(Long value)
public Long clientFailureCheckPeriod()
public ConnectionFactory clientFailureCheckPeriod(Long value)
public String clientId()
public ConnectionFactory clientId(String value)
public Boolean compressLargeMessages()
public ConnectionFactory compressLargeMessages(Boolean value)
public Integer confirmationWindowSize()
public ConnectionFactory confirmationWindowSize(Integer value)
public String connectionLoadBalancingPolicyClassName()
public ConnectionFactory connectionLoadBalancingPolicyClassName(String value)
public Long connectionTtl()
public ConnectionFactory connectionTtl(Long value)
public List<String> connectors()
public ConnectionFactory connectors(List<String> value)
public Integer consumerMaxRate()
public ConnectionFactory consumerMaxRate(Integer value)
public Integer consumerWindowSize()
public ConnectionFactory consumerWindowSize(Integer value)
public String discoveryGroup()
public ConnectionFactory discoveryGroup(String value)
public Integer dupsOkBatchSize()
public ConnectionFactory dupsOkBatchSize(Integer value)
public ConnectionFactory entries(List<String> value)
public String factoryType()
public ConnectionFactory factoryType(String value)
public Boolean failoverOnInitialConnection()
public ConnectionFactory failoverOnInitialConnection(Boolean value)
public String groupId()
public ConnectionFactory groupId(String value)
public Boolean ha()
public ConnectionFactory ha(Boolean value)
public Long maxRetryInterval()
public ConnectionFactory maxRetryInterval(Long value)
public Integer minLargeMessageSize()
public ConnectionFactory minLargeMessageSize(Integer value)
public Boolean preAcknowledge()
public ConnectionFactory preAcknowledge(Boolean value)
public Integer producerMaxRate()
public ConnectionFactory producerMaxRate(Integer value)
public Integer producerWindowSize()
public ConnectionFactory producerWindowSize(Integer value)
public Integer reconnectAttempts()
public ConnectionFactory reconnectAttempts(Integer value)
public Long retryInterval()
public ConnectionFactory retryInterval(Long value)
public BigDecimal retryIntervalMultiplier()
public ConnectionFactory retryIntervalMultiplier(BigDecimal value)
public Integer scheduledThreadPoolMaxSize()
public ConnectionFactory scheduledThreadPoolMaxSize(Integer value)
public Integer threadPoolMaxSize()
public ConnectionFactory threadPoolMaxSize(Integer value)
public Integer transactionBatchSize()
public ConnectionFactory transactionBatchSize(Integer value)
public Boolean useGlobalPools()
public ConnectionFactory useGlobalPools(Boolean value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.