Class ActiveMQRAProperties

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.activemq.artemis.jms.client.ConnectionFactoryOptions

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

      • allowLocalTransactions

        protected boolean allowLocalTransactions
      • useTopologyForLoadBalancing

        protected boolean useTopologyForLoadBalancing
    • Constructor Detail

      • ActiveMQRAProperties

        public ActiveMQRAProperties()
        Constructor
    • Method Detail

      • getUserName

        public java.lang.String getUserName()
        Get the user name
        Returns:
        The value
      • setUserName

        public void setUserName​(java.lang.String userName)
        Set the user name
        Parameters:
        userName - The value
      • getPassword

        public java.lang.String getPassword()
        Get the password
        Returns:
        The value
      • setPassword

        public void setPassword​(java.lang.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()
        Returns:
        the useJNDI
      • setUseJNDI

        public void setUseJNDI​(java.lang.Boolean value)
        Parameters:
        value - the useJNDI to set
      • getParsedJndiParams

        public java.util.Hashtable<?,​?> getParsedJndiParams()
        Returns:
        return the jndi params to use
      • setParsedJndiParams

        public void setParsedJndiParams​(java.util.Hashtable<?,​?> params)
      • getUseLocalTx

        public java.lang.Boolean getUseLocalTx()
        Get the use XA flag
        Returns:
        The value
      • setUseLocalTx

        public void setUseLocalTx​(java.lang.Boolean localTx)
        Set the use XA flag
        Parameters:
        localTx - The value
      • getSetupAttempts

        public int getSetupAttempts()
      • setSetupAttempts

        public void setSetupAttempts​(java.lang.Integer setupAttempts)
      • getSetupInterval

        public long getSetupInterval()
      • setSetupInterval

        public void setSetupInterval​(java.lang.Long setupInterval)
      • isUseMaskedPassword

        public java.lang.Boolean isUseMaskedPassword()
      • setUseMaskedPassword

        public void setUseMaskedPassword​(java.lang.Boolean useMaskedPassword)
      • getPasswordCodec

        public java.lang.String getPasswordCodec()
      • setPasswordCodec

        public void setPasswordCodec​(java.lang.String codecs)
      • toString

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

        public void init()
                  throws org.apache.activemq.artemis.api.core.ActiveMQException
        Throws:
        org.apache.activemq.artemis.api.core.ActiveMQException
      • setUseTopologyForLoadBalancing

        public void setUseTopologyForLoadBalancing​(boolean useTopologyForLoadBalancing)
      • isUseTopologyForLoadBalancing

        public boolean isUseTopologyForLoadBalancing()
      • getCodec

        public java.lang.String getCodec()
      • getJgroupsChannelLocatorClass

        public java.lang.String getJgroupsChannelLocatorClass()
      • setJgroupsChannelLocatorClass

        public void setJgroupsChannelLocatorClass​(java.lang.String jgroupsChannelLocatorClass)
      • getJgroupsChannelRefName

        public java.lang.String getJgroupsChannelRefName()
      • setJgroupsChannelRefName

        public void setJgroupsChannelRefName​(java.lang.String jgroupsChannelRefName)
      • isAllowLocalTransactions

        public boolean isAllowLocalTransactions()
      • setAllowLocalTransactions

        public void setAllowLocalTransactions​(boolean allowLocalTransactions)