Show / Hide Table of Contents

    Interface IMessageSerializationBuilder<TMessage, TBuilder>

    Exposes the SerializeUsing(IMessageSerializer) method, allowing to specify the IMessageSerializer to be used to serialize the messages.

    Namespace: Silverback.Messaging.Configuration
    Assembly: Silverback.Integration.dll
    Syntax
    public interface IMessageSerializationBuilder<TMessage, TBuilder>
    Type Parameters
    Name Description
    TMessage

    The type of the messages being produced.

    TBuilder

    The actual builder type.

    Methods

    SerializeUsing(IMessageSerializer)

    Specifies the IMessageSerializer to be used to serialize the messages.

    Declaration
    TBuilder SerializeUsing(IMessageSerializer serializer)
    Parameters
    Type Name Description
    IMessageSerializer serializer

    The IMessageSerializer.

    Returns
    Type Description
    TBuilder

    The endpoint builder so that additional calls can be chained.

    GitHub E-Mail
    ↑ Back to top © 2026 Sergio Aquilini