Class MqttConnectorIncomingConfiguration
- java.lang.Object
-
- io.smallrye.reactive.messaging.mqtt.MqttConnectorCommonConfiguration
-
- io.smallrye.reactive.messaging.mqtt.MqttConnectorIncomingConfiguration
-
public class MqttConnectorIncomingConfiguration extends MqttConnectorCommonConfiguration
Extract the incoming configuration for thesmallrye-mqtt
connector.
-
-
Field Summary
-
Fields inherited from class io.smallrye.reactive.messaging.mqtt.MqttConnectorCommonConfiguration
config
-
-
Constructor Summary
Constructors Constructor Description MqttConnectorIncomingConfiguration(org.eclipse.microprofile.config.Config config)
Creates a new MqttConnectorIncomingConfiguration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
getBroadcast()
Gets the broadcast value from the configuration.void
validate()
-
Methods inherited from class io.smallrye.reactive.messaging.mqtt.MqttConnectorCommonConfiguration
config, getAutoCleanSession, getAutoGeneratedClientId, getAutoKeepAlive, getChannel, getClientId, getConnectTimeoutSeconds, getFromAlias, getFromAliasWithDefaultValue, getHost, getKeepAliveSeconds, getMaxInflightQueue, getMaxMessageSize, getPassword, getPort, getQos, getReconnectAttempts, getReconnectIntervalSeconds, getServerName, getSsl, getTopic, getTrustAll, getUsername, getWillFlag, getWillQos, getWillRetain
-
-
-
-
Method Detail
-
getBroadcast
public Boolean getBroadcast()
Gets the broadcast value from the configuration. Attribute Name: broadcast Description: Whether or not the messages should be dispatched to multiple consumers Default Value: false- Returns:
- the broadcast
-
validate
public void validate()
- Overrides:
validate
in classMqttConnectorCommonConfiguration
-
-