Show / Hide Table of Contents

    Class ErrorPolicyChainBuilderMoveToMqttTopicExtensions

    Adds the ThenMoveToMqttTopic method to the IErrorPolicyChainBuilder.

    Inheritance
    object
    ErrorPolicyChainBuilderMoveToMqttTopicExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Silverback.Messaging.Configuration
    Assembly: Silverback.Integration.MQTT.dll
    Syntax
    public static class ErrorPolicyChainBuilderMoveToMqttTopicExtensions

    Methods

    | Improve this doc View source

    ThenMoveToMqttTopic(IErrorPolicyChainBuilder, Action<IMqttProducerEndpointBuilder>, Action<MoveMessageErrorPolicy>?)

    Adds a MoveMessageErrorPolicy that moves the messages that fail to be processed to the configured endpoint.

    Declaration
    public static IErrorPolicyChainBuilder ThenMoveToMqttTopic(this IErrorPolicyChainBuilder builder, Action<IMqttProducerEndpointBuilder> endpointBuilderAction, Action<MoveMessageErrorPolicy>? policyConfigurationAction = null)
    Parameters
    Type Name Description
    IErrorPolicyChainBuilder builder

    The IErrorPolicyChainBuilder.

    Action<IMqttProducerEndpointBuilder> endpointBuilderAction

    An Action<T> that takes the IMqttProducerEndpointBuilder and configures it.

    Action<MoveMessageErrorPolicy> policyConfigurationAction

    The (optional) additional configuration.

    Returns
    Type Description
    IErrorPolicyChainBuilder

    The IErrorPolicyChainBuilder so that additional calls can be chained.

    • Improve this doc
    • View source
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini