Class JMSConnectorStatus

    • Field Detail

      • logger

        private static final Logger logger
      • period

        private int period
        The period of time between 2 checks (in seconds).
      • jmsStatus

        JMSStatus jmsStatus
        Root component
      • mbeanName

        private String mbeanName
    • Constructor Detail

      • JMSConnectorStatus

        JMSConnectorStatus​(JMSStatus jmsStatus,
                           String cfname,
                           InitialContext ictx,
                           String user,
                           String pass,
                           String qname,
                           int period,
                           int timeOut)
        Creates a JMS connectors healthcheck component.
        Parameters:
        jmsStatus - Root component.
        cfname - JNDI name of the ConnectionFactory to use.
        ictx - JNDI context allowing to get the ConnectionFactory.
        user - User name for authentication, if null uses the ConnectioNfactory default.
        pass - Password for authentication, if null uses the ConnectioNfactory default.
        qname - Name of the queue used to check the JMS behavior. It is an internal not a JNDI name, this destination is created by the module.
        period - Period (in seconds) between 2 attempts of check.
        timeOut - Maximum amount of time to wait either the connection or the message.