Show / Hide Table of Contents

    Interface IProducerBehavior

    Can be used to build a custom pipeline, plugging some functionality into the IProducer.

    Inherited Members
    ISorted.SortIndex
    Namespace: Silverback.Messaging.Broker.Behaviors
    Assembly: Silverback.Integration.dll
    Syntax
    public interface IProducerBehavior : IBrokerBehavior, ISorted

    Methods

    | Improve this doc View source

    HandleAsync(ProducerPipelineContext, ProducerBehaviorHandler)

    Process, handles or transforms the message being produced.

    Declaration
    Task HandleAsync(ProducerPipelineContext context, ProducerBehaviorHandler next)
    Parameters
    Type Name Description
    ProducerPipelineContext context

    The context that is passed along the behaviors pipeline.

    ProducerBehaviorHandler next

    The next behavior in the pipeline.

    Returns
    Type Description
    Task

    A Task representing the asynchronous operation.

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