public class ConnectionFactoryConfigurationImpl extends Object implements ConnectionFactoryConfiguration
It is also persisted on the journal at the time of management is used to created a connection factory and set to store.
Every property on this class has to be also set through encoders through EncodingSupport implementation at this class.
Constructor and Description |
---|
ConnectionFactoryConfigurationImpl() |
public String[] getBindings()
getBindings
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setBindings(String... bindings)
setBindings
in interface ConnectionFactoryConfiguration
public String getName()
getName
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setName(String name)
setName
in interface ConnectionFactoryConfiguration
public boolean isPersisted()
isPersisted
in interface ConnectionFactoryConfiguration
public String getDiscoveryGroupName()
getDiscoveryGroupName
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setDiscoveryGroupName(String discoveryGroupName)
setDiscoveryGroupName
in interface ConnectionFactoryConfiguration
discoveryGroupName
- the discoveryGroupName to setpublic List<String> getConnectorNames()
getConnectorNames
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setConnectorNames(List<String> connectorNames)
setConnectorNames
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setConnectorNames(String... names)
setConnectorNames
in interface ConnectionFactoryConfiguration
public boolean isHA()
isHA
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setHA(boolean ha)
setHA
in interface ConnectionFactoryConfiguration
public String getClientID()
getClientID
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setClientID(String clientID)
setClientID
in interface ConnectionFactoryConfiguration
public long getClientFailureCheckPeriod()
getClientFailureCheckPeriod
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setClientFailureCheckPeriod(long clientFailureCheckPeriod)
setClientFailureCheckPeriod
in interface ConnectionFactoryConfiguration
public long getConnectionTTL()
getConnectionTTL
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setConnectionTTL(long connectionTTL)
setConnectionTTL
in interface ConnectionFactoryConfiguration
public long getCallTimeout()
getCallTimeout
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setCallTimeout(long callTimeout)
setCallTimeout
in interface ConnectionFactoryConfiguration
public long getCallFailoverTimeout()
getCallFailoverTimeout
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setCallFailoverTimeout(long callFailoverTimeout)
setCallFailoverTimeout
in interface ConnectionFactoryConfiguration
public boolean isCacheLargeMessagesClient()
isCacheLargeMessagesClient
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setCacheLargeMessagesClient(boolean cacheLargeMessagesClient)
setCacheLargeMessagesClient
in interface ConnectionFactoryConfiguration
public int getMinLargeMessageSize()
getMinLargeMessageSize
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setMinLargeMessageSize(int minLargeMessageSize)
setMinLargeMessageSize
in interface ConnectionFactoryConfiguration
public int getConsumerWindowSize()
getConsumerWindowSize
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setConsumerWindowSize(int consumerWindowSize)
setConsumerWindowSize
in interface ConnectionFactoryConfiguration
public int getConsumerMaxRate()
getConsumerMaxRate
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setConsumerMaxRate(int consumerMaxRate)
setConsumerMaxRate
in interface ConnectionFactoryConfiguration
public int getConfirmationWindowSize()
getConfirmationWindowSize
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setConfirmationWindowSize(int confirmationWindowSize)
setConfirmationWindowSize
in interface ConnectionFactoryConfiguration
public int getProducerMaxRate()
getProducerMaxRate
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setProducerMaxRate(int producerMaxRate)
setProducerMaxRate
in interface ConnectionFactoryConfiguration
public int getProducerWindowSize()
getProducerWindowSize
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setProducerWindowSize(int producerWindowSize)
setProducerWindowSize
in interface ConnectionFactoryConfiguration
public boolean isBlockOnAcknowledge()
isBlockOnAcknowledge
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setBlockOnAcknowledge(boolean blockOnAcknowledge)
setBlockOnAcknowledge
in interface ConnectionFactoryConfiguration
public boolean isBlockOnDurableSend()
isBlockOnDurableSend
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setBlockOnDurableSend(boolean blockOnDurableSend)
setBlockOnDurableSend
in interface ConnectionFactoryConfiguration
public boolean isBlockOnNonDurableSend()
isBlockOnNonDurableSend
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setBlockOnNonDurableSend(boolean blockOnNonDurableSend)
setBlockOnNonDurableSend
in interface ConnectionFactoryConfiguration
public boolean isAutoGroup()
isAutoGroup
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setAutoGroup(boolean autoGroup)
setAutoGroup
in interface ConnectionFactoryConfiguration
public boolean isPreAcknowledge()
isPreAcknowledge
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setPreAcknowledge(boolean preAcknowledge)
setPreAcknowledge
in interface ConnectionFactoryConfiguration
public String getLoadBalancingPolicyClassName()
getLoadBalancingPolicyClassName
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setLoadBalancingPolicyClassName(String loadBalancingPolicyClassName)
setLoadBalancingPolicyClassName
in interface ConnectionFactoryConfiguration
public int getTransactionBatchSize()
getTransactionBatchSize
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setTransactionBatchSize(int transactionBatchSize)
setTransactionBatchSize
in interface ConnectionFactoryConfiguration
public int getDupsOKBatchSize()
getDupsOKBatchSize
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setDupsOKBatchSize(int dupsOKBatchSize)
setDupsOKBatchSize
in interface ConnectionFactoryConfiguration
public long getInitialWaitTimeout()
public ConnectionFactoryConfiguration setInitialWaitTimeout(long initialWaitTimeout)
public boolean isUseGlobalPools()
isUseGlobalPools
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setUseGlobalPools(boolean useGlobalPools)
setUseGlobalPools
in interface ConnectionFactoryConfiguration
public int getScheduledThreadPoolMaxSize()
getScheduledThreadPoolMaxSize
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setScheduledThreadPoolMaxSize(int scheduledThreadPoolMaxSize)
setScheduledThreadPoolMaxSize
in interface ConnectionFactoryConfiguration
public int getThreadPoolMaxSize()
getThreadPoolMaxSize
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setThreadPoolMaxSize(int threadPoolMaxSize)
setThreadPoolMaxSize
in interface ConnectionFactoryConfiguration
public long getRetryInterval()
getRetryInterval
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setRetryInterval(long retryInterval)
setRetryInterval
in interface ConnectionFactoryConfiguration
public double getRetryIntervalMultiplier()
getRetryIntervalMultiplier
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setRetryIntervalMultiplier(double retryIntervalMultiplier)
setRetryIntervalMultiplier
in interface ConnectionFactoryConfiguration
public long getMaxRetryInterval()
getMaxRetryInterval
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setMaxRetryInterval(long maxRetryInterval)
setMaxRetryInterval
in interface ConnectionFactoryConfiguration
public int getReconnectAttempts()
getReconnectAttempts
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setReconnectAttempts(int reconnectAttempts)
setReconnectAttempts
in interface ConnectionFactoryConfiguration
public boolean isFailoverOnInitialConnection()
isFailoverOnInitialConnection
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setFailoverOnInitialConnection(boolean failover)
setFailoverOnInitialConnection
in interface ConnectionFactoryConfiguration
public String getGroupID()
getGroupID
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setGroupID(String groupID)
setGroupID
in interface ConnectionFactoryConfiguration
public void decode(ActiveMQBuffer buffer)
decode
in interface EncodingSupport
public void encode(ActiveMQBuffer buffer)
encode
in interface EncodingSupport
public int getEncodeSize()
getEncodeSize
in interface EncodingSupport
public ConnectionFactoryConfiguration setFactoryType(JMSFactoryType factoryType)
setFactoryType
in interface ConnectionFactoryConfiguration
public JMSFactoryType getFactoryType()
getFactoryType
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setCompressLargeMessages(boolean compressLargeMessage)
setCompressLargeMessages
in interface ConnectionFactoryConfiguration
public boolean isCompressLargeMessages()
isCompressLargeMessages
in interface ConnectionFactoryConfiguration
public ConnectionFactoryConfiguration setProtocolManagerFactoryStr(String protocolManagerFactoryStr)
setProtocolManagerFactoryStr
in interface ConnectionFactoryConfiguration
public String getProtocolManagerFactoryStr()
getProtocolManagerFactoryStr
in interface ConnectionFactoryConfiguration
Copyright © 2016 JBoss by Red Hat. All rights reserved.