Class MqttConnectorOutgoingConfiguration
java.lang.Object
io.smallrye.reactive.messaging.mqtt.MqttConnectorCommonConfiguration
io.smallrye.reactive.messaging.mqtt.MqttConnectorOutgoingConfiguration
Extract the outgoing configuration for the
smallrye-mqtt connector.-
Field Summary
Fields inherited from class io.smallrye.reactive.messaging.mqtt.MqttConnectorCommonConfiguration
config -
Constructor Summary
ConstructorsConstructorDescriptionMqttConnectorOutgoingConfiguration(org.eclipse.microprofile.config.Config config) Creates a new MqttConnectorOutgoingConfiguration. -
Method Summary
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
-
MqttConnectorOutgoingConfiguration
public MqttConnectorOutgoingConfiguration(org.eclipse.microprofile.config.Config config) Creates a new MqttConnectorOutgoingConfiguration.
-
-
Method Details
-
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
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:
validatein classMqttConnectorCommonConfiguration
-