Class MqttConsumerProperties

java.lang.Object
org.springframework.cloud.fn.consumer.mqtt.MqttConsumerProperties

@Validated @ConfigurationProperties("mqtt.consumer") public class MqttConsumerProperties extends Object
Properties for the Mqtt Consumer.
Author:
Janne Valkealahti
  • Constructor Details

    • MqttConsumerProperties

      public MqttConsumerProperties()
  • Method Details

    • getQos

      @Range(min=0L, max=2L) public @org.hibernate.validator.constraints.Range(min=0L, max=2L) int getQos()
    • isRetained

      public boolean isRetained()
    • setQos

      public void setQos(int qos)
    • setRetained

      public void setRetained(boolean retained)
    • getClientId

      @NotBlank @Size(min=1, max=23) public @NotBlank @Size(min=1,max=23) String getClientId()
    • setClientId

      public void setClientId(String clientId)
    • getTopic

      @NotBlank public @NotBlank String getTopic()
    • setTopic

      public void setTopic(String topic)
    • getCharset

      public String getCharset()
    • setCharset

      public void setCharset(String charset)
    • isAsync

      public boolean isAsync()
    • setAsync

      public void setAsync(boolean async)