Interface MqttProtocolAdapterOptions


  • @ConfigMapping(prefix="hono.mqtt",
                   namingStrategy=VERBATIM)
    public interface MqttProtocolAdapterOptions
    Options for configuring an MQTT based protocol adapter.
    • 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.
        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.