Package org.eclipse.hono.adapter.mqtt
Interface MqttProtocolAdapterOptions
-
@ConfigMapping(prefix="hono.mqtt", namingStrategy=VERBATIM) public interface MqttProtocolAdapterOptionsOptions for configuring an MQTT based protocol adapter.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description org.eclipse.hono.config.ProtocolAdapterOptionsadapterOptions()Gets the adapter options.intcommandAckTimeout()Deprecated, for removal: This API element is subject to removal in a future version.UsesendMessageToDeviceTimeout()instead.longsendMessageToDeviceTimeout()Gets the waiting for acknowledgement timeout in milliseconds for commands published with QoS 1.
-
-
-
Method Detail
-
adapterOptions
@WithParentName org.eclipse.hono.config.ProtocolAdapterOptions adapterOptions()
Gets the adapter options.- Returns:
- The options.
-
commandAckTimeout
@WithDefault("100") @Deprecated(forRemoval=true) int commandAckTimeout()Deprecated, for removal: This API element is subject to removal in a future version.UsesendMessageToDeviceTimeout()instead.Gets the waiting for acknowledgement timeout in milliseconds for commands published with QoS 1.This timeout is used by the MQTT adapter for commands published with QoS 1. If there is no acknowledgement within this time limit, then the command is settled with the released outcome.
- Returns:
- The timeout in milliseconds.
-
sendMessageToDeviceTimeout
@WithDefault("1000") long sendMessageToDeviceTimeout()Gets the waiting for acknowledgement timeout in milliseconds for commands published with QoS 1.This timeout is used by the MQTT adapter for commands published with QoS 1. If there is no acknowledgement within this time limit, then the command is settled with the released outcome.
- Returns:
- The timeout in milliseconds.
-
-