Class ActiveMQRAProperties

java.lang.Object
org.apache.activemq.artemis.ra.ConnectionFactoryProperties
org.apache.activemq.artemis.ra.ActiveMQRAProperties
All Implemented Interfaces:
Serializable, ConnectionFactoryOptions

public class ActiveMQRAProperties extends ConnectionFactoryProperties implements Serializable
The RA default properties - these are set in the ra.xml file
See Also:
  • Field Details

    • allowLocalTransactions

      protected boolean allowLocalTransactions
    • useTopologyForLoadBalancing

      protected boolean useTopologyForLoadBalancing
  • Constructor Details

    • ActiveMQRAProperties

      public ActiveMQRAProperties()
  • Method Details

    • getUserName

      public String getUserName()
    • setUserName

      public void setUserName(String userName)
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String password)
      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

      public void setUseJNDI(Boolean value)
    • getParsedJndiParams

      public Hashtable<?,?> getParsedJndiParams()
    • setParsedJndiParams

      public void setParsedJndiParams(Hashtable<?,?> params)
    • getUseLocalTx

      public Boolean getUseLocalTx()
    • setUseLocalTx

      public void setUseLocalTx(Boolean localTx)
    • getSetupAttempts

      public int getSetupAttempts()
    • setSetupAttempts

      public void setSetupAttempts(Integer setupAttempts)
    • getSetupInterval

      public long getSetupInterval()
    • setSetupInterval

      public void setSetupInterval(Long setupInterval)
    • isUseMaskedPassword

      public Boolean isUseMaskedPassword()
    • setUseMaskedPassword

      public void setUseMaskedPassword(Boolean useMaskedPassword)
    • getPasswordCodec

      public String getPasswordCodec()
    • setPasswordCodec

      public void setPasswordCodec(String codecs)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • init

      public void init() throws ActiveMQException
      Throws:
      ActiveMQException
    • setUseTopologyForLoadBalancing

      public void setUseTopologyForLoadBalancing(boolean useTopologyForLoadBalancing)
    • isUseTopologyForLoadBalancing

      public boolean isUseTopologyForLoadBalancing()
    • getCodec

      public String getCodec()
    • getJgroupsChannelLocatorClass

      public String getJgroupsChannelLocatorClass()
    • setJgroupsChannelLocatorClass

      public void setJgroupsChannelLocatorClass(String jgroupsChannelLocatorClass)
    • getJgroupsChannelRefName

      public String getJgroupsChannelRefName()
    • setJgroupsChannelRefName

      public void setJgroupsChannelRefName(String jgroupsChannelRefName)
    • isAllowLocalTransactions

      public boolean isAllowLocalTransactions()
    • setAllowLocalTransactions

      public void setAllowLocalTransactions(boolean allowLocalTransactions)