Class HiveMQMqttConnectorIncomingConfiguration
java.lang.Object
io.quarkiverse.hivemqclient.smallrye.reactive.HiveMQMqttConnectorCommonConfiguration
io.quarkiverse.hivemqclient.smallrye.reactive.HiveMQMqttConnectorIncomingConfiguration
public class HiveMQMqttConnectorIncomingConfiguration
extends HiveMQMqttConnectorCommonConfiguration
Extract the incoming configuration for the
smallrye-mqtt-hivemq connector.-
Field Summary
Fields inherited from class io.quarkiverse.hivemqclient.smallrye.reactive.HiveMQMqttConnectorCommonConfiguration
config -
Constructor Summary
ConstructorsConstructorDescriptionHiveMQMqttConnectorIncomingConfiguration(org.eclipse.microprofile.config.Config config) Creates a new HiveMQMqttConnectorIncomingConfiguration. -
Method Summary
Modifier and TypeMethodDescriptionGets the broadcast value from the configuration.Gets the failure-strategy value from the configuration.voidvalidate()Methods inherited from class io.quarkiverse.hivemqclient.smallrye.reactive.HiveMQMqttConnectorCommonConfiguration
config, getAutoCleanSession, getAutoGeneratedClientId, getAutoKeepAlive, getChannel, getCheckTopicEnabled, getCheckTopicName, getClientId, getConnectTimeoutSeconds, getFromAlias, getFromAliasWithDefaultValue, getHost, getKeepAliveSeconds, getLivenessTimeout, getMaxInflightQueue, getMaxMessageSize, getPassword, getPort, getQos, getReadinessTimeout, getReconnectAttempts, getReconnectIntervalSeconds, getServerName, getSsl, getSslHostVerifier, getSslKeystoreLocation, getSslKeystorePassword, getSslKeystoreType, getSslTruststoreLocation, getSslTruststorePassword, getSslTruststoreType, getTopic, getTrustAll, getUsername, getWillFlag, getWillQos, getWillRetain
-
Constructor Details
-
HiveMQMqttConnectorIncomingConfiguration
public HiveMQMqttConnectorIncomingConfiguration(org.eclipse.microprofile.config.Config config) Creates a new HiveMQMqttConnectorIncomingConfiguration.
-
-
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
-
validate
public void validate()- Overrides:
validatein classHiveMQMqttConnectorCommonConfiguration
-