Package io.micronaut.mqtt.config
Class MqttConfigurationProperties
java.lang.Object
io.micronaut.mqtt.config.MqttConfigurationProperties
- All Implemented Interfaces:
io.micronaut.core.util.Toggleable
,MqttConfiguration
@ConfigurationProperties("mqtt")
public class MqttConfigurationProperties
extends Object
implements MqttConfiguration
ConfigurationProperties
implementation for MqttConfiguration
.- Since:
- 2.2.0
- Author:
- Sergio del Amo
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setEnabled
(boolean enabled) Enables Micronaut MQTT integration.
-
Field Details
-
PREFIX
- See Also:
-
-
Constructor Details
-
MqttConfigurationProperties
public MqttConfigurationProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceio.micronaut.core.util.Toggleable
-
setEnabled
public void setEnabled(boolean enabled) Enables Micronaut MQTT integration. Default value true- Parameters:
enabled
- True if it is enabled
-