Show / Hide Table of Contents

    Class ChunkSequenceWriter

    Creates the chunks sequence according to the ChunkSettings.

    Inheritance
    object
    ChunkSequenceWriter
    Implements
    ISequenceWriter
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Silverback.Messaging.Sequences.Chunking
    Assembly: Silverback.Integration.dll
    Syntax
    public class ChunkSequenceWriter : ISequenceWriter

    Methods

    | Improve this doc View source

    CanHandle(IOutboundEnvelope)

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

    Declaration
    public 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
    public 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.

    Implements

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