Show / Hide Table of Contents

    Interface ISequenceWriter

    Can set the headers used to match the message with the sequence it belongs to. If needed it can also split a single message into multiple messages.

    Namespace: Silverback.Messaging.Sequences
    Assembly: Silverback.Integration.dll
    Syntax
    public interface ISequenceWriter

    Methods

    | Improve this doc View source

    CanHandle(IOutboundEnvelope)

    Checks whether this writer can and must handle the specified message.

    Declaration
    bool CanHandle(IOutboundEnvelope envelope)
    Parameters
    Type Name Description
    IOutboundEnvelope envelope

    The envelope containing the message to be handled.

    Returns
    Type Description
    bool

    A value indicating whether this writer can and must handle the message.

    | Improve this doc View source

    ProcessMessageAsync(IOutboundEnvelope)

    Sets the headers used to match the message with the sequence it belongs to. If needed it can also split a single message into multiple messages.

    Declaration
    IAsyncEnumerable<IOutboundEnvelope> ProcessMessageAsync(IOutboundEnvelope envelope)
    Parameters
    Type Name Description
    IOutboundEnvelope envelope

    The envelope containing the message to be handled.

    Returns
    Type Description
    IAsyncEnumerable<IOutboundEnvelope>

    An IAsyncEnumerable<T> with the envelopes containing the messages to be produced.

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