Class JmsMCFProperties

    • Field Detail

      • QUEUE_TYPE

        public static final String QUEUE_TYPE
      • TOPIC_TYPE

        public static final String TOPIC_TYPE
      • AGNOSTIC_TYPE

        public static final String AGNOSTIC_TYPE
      • JMS_CONTEXT_TYPE

        public static final String JMS_CONTEXT_TYPE
    • Constructor Detail

      • JmsMCFProperties

        public JmsMCFProperties()
    • Method Detail

      • setUserName

        public void setUserName​(String userName)
        Set userName, null by default.
      • getUserName

        public String getUserName()
        Get userName, may be null.
      • setPassword

        public void setPassword​(String password)
        Set password, null by default.
        Parameters:
        password -
      • getPassword

        public char[] getPassword()
        Get password, may be null.
      • getClientID

        public String getClientID()
        Get client id, may be null.
      • setClientID

        public void setClientID​(String clientID)
        Set client id, null by default.
      • getType

        public int getType()
        Type of the JMS Session.
      • setType

        public void setType​(int type)
        Set the default session type.
      • getConnectionFactory

        public String getConnectionFactory()
      • setConnectionFactory

        public void setConnectionFactory​(String connectionFactory)
      • getJndiParameters

        public String getJndiParameters()
      • setJndiParameters

        public void setJndiParameters​(String jndiParameters)
      • setSessionDefaultType

        public void setSessionDefaultType​(String type)
                                   throws javax.resource.ResourceException
        Helper method to set the default session type.
        Parameters:
        type - either javax.jms.Topic or javax.jms.Queue
        Throws:
        javax.resource.ResourceException - if type was not a valid type.
      • getSessionDefaultType

        public String getSessionDefaultType()
      • equals

        public boolean equals​(Object obj)
        Test for equality.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Simple hashCode of all attributes.
        Overrides:
        hashCode in class Object