public class ActiveMQRAProperties extends ConnectionFactoryProperties implements Serializable
Constructor and Description |
---|
ActiveMQRAProperties()
Constructor
|
Modifier and Type | Method and Description |
---|---|
SensitiveDataCodec<String> |
getCodecInstance() |
String |
getJgroupsChannelLocatorClass() |
String |
getJgroupsChannelRefName() |
Hashtable<?,?> |
getParsedJndiParams() |
String |
getPassword()
Get the password
|
String |
getPasswordCodec() |
int |
getSetupAttempts() |
long |
getSetupInterval() |
Boolean |
getUseLocalTx()
Get the use XA flag
|
String |
getUserName()
Get the user name
|
void |
init() |
boolean |
isUseJNDI() |
boolean |
isUseMaskedPassword() |
void |
setJgroupsChannelLocatorClass(String jgroupsChannelLocatorClass) |
void |
setJgroupsChannelRefName(String jgroupsChannelRefName) |
void |
setParsedJndiParams(Hashtable<?,?> params) |
void |
setPassword(String password)
Set the password
Based on UseMaskedPassword property, the password can be
plain text or encoded string.
|
void |
setPasswordCodec(String codecs) |
void |
setSetupAttempts(Integer setupAttempts) |
void |
setSetupInterval(Long setupInterval) |
void |
setUseJNDI(Boolean value) |
void |
setUseLocalTx(Boolean localTx)
Set the use XA flag
|
void |
setUseMaskedPassword(boolean useMaskedPassword) |
void |
setUserName(String userName)
Set the user name
|
String |
toString() |
equals, getCallFailoverTimeout, getCallTimeout, getClientFailureCheckPeriod, getClientID, getConfirmationWindowSize, getConnectionLoadBalancingPolicyClassName, getConnectionTTL, getConsumerMaxRate, getConsumerWindowSize, getDeserializationBlackList, 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, isCacheLargeMessagesClient, isCompressLargeMessage, isFailoverOnInitialConnection, isHA, isHasBeenUpdated, isPreAcknowledge, isUseGlobalPools, setAutoGroup, setBlockOnAcknowledge, setBlockOnDurableSend, setBlockOnNonDurableSend, setCacheLargeMessagesClient, setCallFailoverTimeout, setCallTimeout, setClientFailureCheckPeriod, setClientID, setCompressLargeMessage, setConfirmationWindowSize, setConnectionLoadBalancingPolicyClassName, setConnectionTTL, setConsumerMaxRate, setConsumerWindowSize, setDeserializationBlackList, setDeserializationWhiteList, setDiscoveryAddress, setDiscoveryInitialWaitTimeout, setDiscoveryLocalBindAddress, setDiscoveryPort, setDiscoveryRefreshTimeout, setDupsOKBatchSize, setFailoverOnInitialConnection, setGroupID, setHA, setInitialConnectAttempts, setInitialMessagePacketSize, setJgroupsChannelName, setJgroupsFile, setMaxRetryInterval, setMinLargeMessageSize, setParsedConnectionParameters, setParsedConnectorClassNames, setPreAcknowledge, setProducerMaxRate, setProducerWindowSize, setProtocolManagerFactoryStr, setReconnectAttempts, setRetryInterval, setRetryIntervalMultiplier, setScheduledThreadPoolMaxSize, setThreadPoolMaxSize, setTransactionBatchSize, setUseGlobalPools
public String getUserName()
public void setUserName(String userName)
userName
- The valuepublic String getPassword()
public void setPassword(String password)
password
- The valuepublic boolean isUseJNDI()
public void setUseJNDI(Boolean value)
value
- the useJNDI to setpublic Hashtable<?,?> getParsedJndiParams()
public void setParsedJndiParams(Hashtable<?,?> params)
public Boolean getUseLocalTx()
public void setUseLocalTx(Boolean localTx)
localTx
- The valuepublic int getSetupAttempts()
public void setSetupAttempts(Integer setupAttempts)
public long getSetupInterval()
public void setSetupInterval(Long setupInterval)
public boolean isUseMaskedPassword()
public void setUseMaskedPassword(boolean useMaskedPassword)
public String getPasswordCodec()
public void setPasswordCodec(String codecs)
public void init() throws ActiveMQException
ActiveMQException
public SensitiveDataCodec<String> getCodecInstance()
public String getJgroupsChannelLocatorClass()
public void setJgroupsChannelLocatorClass(String jgroupsChannelLocatorClass)
public String getJgroupsChannelRefName()
public void setJgroupsChannelRefName(String jgroupsChannelRefName)
Copyright © 2016 The Apache Software Foundation. All rights reserved.