Class MqttConnectorOutgoingConfiguration

java.lang.Object
io.smallrye.reactive.messaging.mqtt.MqttConnectorCommonConfiguration
io.smallrye.reactive.messaging.mqtt.MqttConnectorOutgoingConfiguration

public class MqttConnectorOutgoingConfiguration extends MqttConnectorCommonConfiguration
Extract the outgoing configuration for the smallrye-mqtt connector.
  • Constructor Details

    • MqttConnectorOutgoingConfiguration

      public MqttConnectorOutgoingConfiguration(org.eclipse.microprofile.config.Config config)
      Creates a new MqttConnectorOutgoingConfiguration.
  • Method Details

    • getMerge

      public Boolean getMerge()
      Gets the merge value from the configuration. Attribute Name: merge Description: Whether the connector should allow multiple upstreams Default Value: false
      Returns:
      the merge
    • getRetain

      public Boolean getRetain()
      Gets the retain value from the configuration. Attribute Name: retain Description: Whether the published message should be retained Default Value: false
      Returns:
      the retain
    • validate

      public void validate()
      Overrides:
      validate in class MqttConnectorCommonConfiguration