Class MqttConnectorIncomingConfiguration
java.lang.Object
io.smallrye.reactive.messaging.mqtt.MqttConnectorCommonConfiguration
io.smallrye.reactive.messaging.mqtt.MqttConnectorIncomingConfiguration
Extract the incoming configuration for the
smallrye-mqtt connector.-
Field Summary
Fields inherited from class io.smallrye.reactive.messaging.mqtt.MqttConnectorCommonConfiguration
config -
Constructor Summary
ConstructorsConstructorDescriptionMqttConnectorIncomingConfiguration(org.eclipse.microprofile.config.Config config) Creates a new MqttConnectorIncomingConfiguration. -
Method Summary
Modifier and TypeMethodDescriptionGets the broadcast value from the configuration.Gets the buffer-size value from the configuration.Gets the failure-strategy value from the configuration.voidvalidate()Methods inherited from class io.smallrye.reactive.messaging.mqtt.MqttConnectorCommonConfiguration
config, getAutoCleanSession, getAutoGeneratedClientId, getAutoKeepAlive, getChannel, getClientId, getClientOptionsName, getConnectTimeoutSeconds, getFromAlias, getFromAliasWithDefaultValue, getHealthEnabled, getHost, getKeepAliveSeconds, getMaxInflightQueue, getMaxMessageSize, getPassword, getPort, getQos, getReconnectIntervalSeconds, getServerName, getSsl, getSslHostnameVerificationAlgorithm, getSslKeystoreLocation, getSslKeystorePassword, getSslKeystoreType, getSslTruststoreLocation, getSslTruststorePassword, getSslTruststoreType, getTopic, getTrustAll, getUnsubscribeOnDisconnection, getUsername, getWillFlag, getWillQos, getWillRetain
-
Constructor Details
-
MqttConnectorIncomingConfiguration
public MqttConnectorIncomingConfiguration(org.eclipse.microprofile.config.Config config) Creates a new MqttConnectorIncomingConfiguration.
-
-
Method Details
-
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
-
getFailureStrategy
Gets the failure-strategy value from the configuration. Attribute Name: failure-strategy Description: Specify the failure strategy to apply when a message produced from a MQTT message is nacked. Values can be `fail` (default), or `ignore` Default Value: fail- Returns:
- the failure-strategy
-
getBufferSize
Gets the buffer-size value from the configuration. Attribute Name: buffer-size Description: The size buffer of incoming messages waiting to be processed Default Value: 128- Returns:
- the buffer-size
-
validate
public void validate()- Overrides:
validatein classMqttConnectorCommonConfiguration
-