Package org.apache.activemq.artemis.ra
Class ActiveMQRAProperties
java.lang.Object
org.apache.activemq.artemis.ra.ConnectionFactoryProperties
org.apache.activemq.artemis.ra.ActiveMQRAProperties
- All Implemented Interfaces:
Serializable,ConnectionFactoryOptions
The RA default properties - these are set in the ra.xml file
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCodec()Hashtable<?,?> intlongvoidinit()booleanbooleanbooleanvoidsetAllowLocalTransactions(boolean allowLocalTransactions) voidsetJgroupsChannelLocatorClass(String jgroupsChannelLocatorClass) voidsetJgroupsChannelRefName(String jgroupsChannelRefName) voidsetParsedJndiParams(Hashtable<?, ?> params) voidsetPassword(String password) Set the password Based on UseMaskedPassword property, the password can be plain text or encoded string.voidsetPasswordCodec(String codecs) voidsetSetupAttempts(Integer setupAttempts) voidsetSetupInterval(Long setupInterval) voidsetUseJNDI(Boolean value) voidsetUseLocalTx(Boolean localTx) voidsetUseMaskedPassword(Boolean useMaskedPassword) voidsetUserName(String userName) voidsetUseTopologyForLoadBalancing(boolean useTopologyForLoadBalancing) toString()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 Details
-
allowLocalTransactions
protected boolean allowLocalTransactions -
useTopologyForLoadBalancing
protected boolean useTopologyForLoadBalancing
-
-
Constructor Details
-
ActiveMQRAProperties
public ActiveMQRAProperties()
-
-
Method Details
-
getUserName
-
setUserName
-
getPassword
-
setPassword
Set the password Based on UseMaskedPassword property, the password can be plain text or encoded string. However we cannot decide which is the case at this moment, because we don't know when the UseMaskedPassword and PasswordCodec are loaded. So for the moment we just save the password.- Parameters:
password- The value
-
isUseJNDI
public boolean isUseJNDI() -
setUseJNDI
-
getParsedJndiParams
-
setParsedJndiParams
-
getUseLocalTx
-
setUseLocalTx
-
getSetupAttempts
public int getSetupAttempts() -
setSetupAttempts
-
getSetupInterval
public long getSetupInterval() -
setSetupInterval
-
isUseMaskedPassword
-
setUseMaskedPassword
-
getPasswordCodec
-
setPasswordCodec
-
toString
-
init
- Throws:
ActiveMQException
-
setUseTopologyForLoadBalancing
public void setUseTopologyForLoadBalancing(boolean useTopologyForLoadBalancing) -
isUseTopologyForLoadBalancing
public boolean isUseTopologyForLoadBalancing() -
getCodec
-
getJgroupsChannelLocatorClass
-
setJgroupsChannelLocatorClass
-
getJgroupsChannelRefName
-
setJgroupsChannelRefName
-
isAllowLocalTransactions
public boolean isAllowLocalTransactions() -
setAllowLocalTransactions
public void setAllowLocalTransactions(boolean allowLocalTransactions)
-