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 Details

  • Constructor Details

    • MqttConfigurationProperties

      public MqttConfigurationProperties()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface io.micronaut.core.util.Toggleable
    • setEnabled

      public void setEnabled(boolean enabled)
      Enables Micronaut MQTT integration. Default value true
      Parameters:
      enabled - True if it is enabled