Package org.apache.activemq.artemis.ra
Class ActiveMQRAMCFProperties
- java.lang.Object
-
- org.apache.activemq.artemis.ra.ConnectionFactoryProperties
-
- org.apache.activemq.artemis.ra.ActiveMQRAMCFProperties
-
- All Implemented Interfaces:
Serializable,org.apache.activemq.artemis.jms.client.ConnectionFactoryOptions
public class ActiveMQRAMCFProperties extends ConnectionFactoryProperties implements Serializable
The MCF default properties - these are set in the tx-connection-factory at the jms-ds.xml- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description StringstrConnectionParameters
-
Constructor Summary
Constructors Constructor Description ActiveMQRAMCFProperties()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetConnectorClassName()StringgetSessionDefaultType()Get the default session type.StringgetStrConnectionParameters()intgetType()Get the connection typeIntegergetUseTryLock()Get the useTryLock.booleanisAllowLocalTransactions()booleanisInJtaTransaction()voidsetAllowLocalTransactions(boolean allowLocalTransactions)voidsetConnectionParameters(String configuration)voidsetConnectorClassName(String connectorClassName)voidsetInJtaTransaction(boolean inJtaTransaction)voidsetSessionDefaultType(String defaultType)Set the default session type.voidsetUseTryLock(Integer useTryLock)Set the useTryLock.-
Methods inherited from class org.apache.activemq.artemis.ra.ConnectionFactoryProperties
equals, getCallFailoverTimeout, getCallTimeout, getClientFailureCheckPeriod, getClientID, getCompressionLevel, getConfirmationWindowSize, getConnectionLoadBalancingPolicyClassName, getConnectionTTL, getConsumerMaxRate, getConsumerWindowSize, getDeserializationAllowList, getDeserializationBlackList, getDeserializationDenyList, getDeserializationWhiteList, getDiscoveryAddress, getDiscoveryInitialWaitTimeout, getDiscoveryLocalBindAddress, getDiscoveryPort, getDiscoveryRefreshTimeout, getDupsOKBatchSize, getGroupID, getInitialConnectAttempts, getInitialMessagePacketSize, getJgroupsChannelName, getJgroupsFile, getMaxRetryInterval, getMinLargeMessageSize, getParsedConnectionParameters, getParsedConnectorClassNames, getProducerMaxRate, getProducerWindowSize, getProtocolManagerFactoryStr, getReconnectAttempts, getRetryInterval, getRetryIntervalMultiplier, getScheduledThreadPoolMaxSize, getThreadPoolMaxSize, getTransactionBatchSize, hashCode, isAutoGroup, isBlockOnAcknowledge, isBlockOnDurableSend, isBlockOnNonDurableSend, isCacheDestinations, isCacheLargeMessagesClient, isCompressLargeMessage, isEnable1xPrefixes, isEnableSharedClientID, isFailoverOnInitialConnection, isHA, isHasBeenUpdated, isPreAcknowledge, isUseGlobalPools, setAutoGroup, setBlockOnAcknowledge, setBlockOnDurableSend, setBlockOnNonDurableSend, setCacheDestinations, setCacheLargeMessagesClient, setCallFailoverTimeout, setCallTimeout, setClientFailureCheckPeriod, setClientID, setCompressionLevel, setCompressLargeMessage, setConfirmationWindowSize, setConnectionLoadBalancingPolicyClassName, setConnectionTTL, setConsumerMaxRate, setConsumerWindowSize, setDeserializationAllowList, setDeserializationBlackList, setDeserializationDenyList, setDeserializationWhiteList, setDiscoveryAddress, setDiscoveryInitialWaitTimeout, setDiscoveryLocalBindAddress, setDiscoveryPort, setDiscoveryRefreshTimeout, setDupsOKBatchSize, setEnable1xPrefixes, setEnableSharedClientID, setFailoverOnInitialConnection, setGroupID, setHA, setInitialConnectAttempts, setInitialMessagePacketSize, setJgroupsChannelName, setJgroupsFile, setMaxRetryInterval, setMinLargeMessageSize, setParsedConnectionParameters, setParsedConnectorClassNames, setPreAcknowledge, setProducerMaxRate, setProducerWindowSize, setProtocolManagerFactoryStr, setReconnectAttempts, setRetryInterval, setRetryIntervalMultiplier, setScheduledThreadPoolMaxSize, setThreadPoolMaxSize, setTransactionBatchSize, setUseGlobalPools
-
-
-
-
Field Detail
-
strConnectionParameters
public String strConnectionParameters
-
-
Method Detail
-
getType
public int getType()
Get the connection type- Returns:
- The type
-
getConnectorClassName
public String getConnectorClassName()
-
setConnectorClassName
public void setConnectorClassName(String connectorClassName)
-
getStrConnectionParameters
public String getStrConnectionParameters()
- Returns:
- the connectionParameters
-
setConnectionParameters
public void setConnectionParameters(String configuration)
-
setSessionDefaultType
public void setSessionDefaultType(String defaultType)
Set the default session type.- Parameters:
defaultType- either javax.jms.Topic or javax.jms.Queue
-
getSessionDefaultType
public String getSessionDefaultType()
Get the default session type.- Returns:
- The default session type
-
getUseTryLock
public Integer getUseTryLock()
Get the useTryLock.- Returns:
- the useTryLock.
-
setUseTryLock
public void setUseTryLock(Integer useTryLock)
Set the useTryLock.- Parameters:
useTryLock- the useTryLock.
-
isAllowLocalTransactions
public boolean isAllowLocalTransactions()
-
setAllowLocalTransactions
public void setAllowLocalTransactions(boolean allowLocalTransactions)
-
isInJtaTransaction
public boolean isInJtaTransaction()
-
setInJtaTransaction
public void setInJtaTransaction(boolean inJtaTransaction)
-
-