Package org.apache.activemq.web.config
Class SystemPropertiesConfiguration
java.lang.Object
org.apache.activemq.web.config.AbstractConfiguration
org.apache.activemq.web.config.SystemPropertiesConfiguration
- All Implemented Interfaces:
WebConsoleConfiguration
Configuration based on system-properties.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.jms.ConnectionFactory
The connection factory to use for sending/receiving messages.Password for the JMX-user.The URL to the JMX connectors of the broker.The user that is used in case of authenticated JMX connections.Methods inherited from class org.apache.activemq.web.config.AbstractConfiguration
makeConnectionFactory, makeJmxUrls
-
Field Details
-
PROPERTY_JMS_URL
- See Also:
-
PROPERTY_JMS_USER
- See Also:
-
PROPERTY_JMS_PASSWORD
- See Also:
-
PROPERTY_JMX_URL
- See Also:
-
PROPERTY_JMX_USER
- See Also:
-
PROPERTY_JMX_PASSWORD
- See Also:
-
-
Constructor Details
-
SystemPropertiesConfiguration
public SystemPropertiesConfiguration()
-
-
Method Details
-
getConnectionFactory
public jakarta.jms.ConnectionFactory getConnectionFactory()Description copied from interface:WebConsoleConfiguration
The connection factory to use for sending/receiving messages.- Specified by:
getConnectionFactory
in interfaceWebConsoleConfiguration
- Overrides:
getConnectionFactory
in classAbstractConfiguration
- Returns:
- not
null
-
getJmxUrls
Description copied from interface:WebConsoleConfiguration
The URL to the JMX connectors of the broker. The names of any failover (master-slave configuration) must also be specified.- Specified by:
getJmxUrls
in interfaceWebConsoleConfiguration
- Overrides:
getJmxUrls
in classAbstractConfiguration
- Returns:
- not
null
, must contain at least one entry
-
getJmxPassword
Description copied from interface:WebConsoleConfiguration
Password for the JMX-user.- Specified by:
getJmxPassword
in interfaceWebConsoleConfiguration
- Overrides:
getJmxPassword
in classAbstractConfiguration
- Returns:
null
if no authentication- See Also:
-
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 interfaceWebConsoleConfiguration
- Overrides:
getJmxUser
in classAbstractConfiguration
- Returns:
null
if no authentication should be used.
-