Show / Hide Table of Contents

    Class ErrorPolicyChainBuilderMoveToKafkaTopicExtensions

    Adds the ThenMoveToKafkaTopic method to the IErrorPolicyChainBuilder.

    Inheritance
    object
    ErrorPolicyChainBuilderMoveToKafkaTopicExtensions
    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.Kafka.dll
    Syntax
    public static class ErrorPolicyChainBuilderMoveToKafkaTopicExtensions

    Methods

    | Improve this doc View source

    ThenMoveToKafkaTopic(IErrorPolicyChainBuilder, Action<IKafkaProducerEndpointBuilder>, Action<MoveMessageErrorPolicy>?)

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

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

    The IErrorPolicyChainBuilder.

    Action<IKafkaProducerEndpointBuilder> endpointBuilderAction

    An Action<T> that takes the IKafkaProducerEndpointBuilder 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