Class AbstractConfiguration

    • Constructor Detail

      • AbstractConfiguration

        public AbstractConfiguration()
    • Method Detail

      • getJmxUser

        public String getJmxUser()
        Description copied from interface: WebConsoleConfiguration
        The user that is used in case of authenticated JMX connections. The user must be the same for all the brokers.
        Specified by:
        getJmxUser in interface WebConsoleConfiguration
        Returns:
        null if no authentication should be used.
      • makeConnectionFactory

        protected javax.jms.ConnectionFactory makeConnectionFactory​(String jmsUrl,
                                                                    String jmsUser,
                                                                    String jmsPassword)
        Creates the ActiveMQ-ConnectionFactory.
        Parameters:
        jmsUrl - not null
        jmsUser - null if no authentication
        jmsPassword - null is ok
        Returns:
        not null
      • makeJmxUrls

        protected Collection<JMXServiceURL> makeJmxUrls​(String jmxUrls)
        Splits the JMX-Url string into a series of JMSServiceURLs.
        Parameters:
        jmxUrls - the JMX-url, multiple URLs are separated by commas.
        Returns:
        not null, contains at least one element.