Show / Hide Table of Contents

    Class DefaultProduceStrategy

    This is the default produce strategy, which immediately pushes to the message broker via the underlying library and according to the endpoint settings.

    Inheritance
    object
    DefaultProduceStrategy
    Implements
    IProduceStrategy
    IEquatable<IProduceStrategy>
    IEquatable<DefaultProduceStrategy>
    Inherited Members
    object.GetType()
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: Silverback.Messaging.Producing
    Assembly: Silverback.Integration.dll
    Syntax
    public sealed class DefaultProduceStrategy : IProduceStrategy, IEquatable<IProduceStrategy>, IEquatable<DefaultProduceStrategy>

    Constructors

    DefaultProduceStrategy()

    This is the default produce strategy, which immediately pushes to the message broker via the underlying library and according to the endpoint settings.

    Declaration
    public DefaultProduceStrategy()

    Methods

    Build(ISilverbackContext, ProducerEndpointConfiguration)

    Returns the actual strategy implementation, built using the provided IServiceProvider.

    Declaration
    public IProduceStrategyImplementation Build(ISilverbackContext context, ProducerEndpointConfiguration endpointConfiguration)
    Parameters
    Type Name Description
    ISilverbackContext context

    The ISilverbackContext.

    ProducerEndpointConfiguration endpointConfiguration

    The producer endpoint configuration.

    Returns
    Type Description
    IProduceStrategyImplementation

    An instance of IProduceStrategyImplementation that can be used to produce the messages.

    Equals(DefaultProduceStrategy?)

    This is the default produce strategy, which immediately pushes to the message broker via the underlying library and according to the endpoint settings.

    Declaration
    public bool Equals(DefaultProduceStrategy? other)
    Parameters
    Type Name Description
    DefaultProduceStrategy other
    Returns
    Type Description
    bool

    Equals(IProduceStrategy?)

    This is the default produce strategy, which immediately pushes to the message broker via the underlying library and according to the endpoint settings.

    Declaration
    public bool Equals(IProduceStrategy? other)
    Parameters
    Type Name Description
    IProduceStrategy other
    Returns
    Type Description
    bool

    Equals(object?)

    This is the default produce strategy, which immediately pushes to the message broker via the underlying library and according to the endpoint settings.

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)

    GetHashCode()

    This is the default produce strategy, which immediately pushes to the message broker via the underlying library and according to the endpoint settings.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()

    Operators

    operator ==(DefaultProduceStrategy?, DefaultProduceStrategy?)

    This is the default produce strategy, which immediately pushes to the message broker via the underlying library and according to the endpoint settings.

    Declaration
    public static bool operator ==(DefaultProduceStrategy? left, DefaultProduceStrategy? right)
    Parameters
    Type Name Description
    DefaultProduceStrategy left
    DefaultProduceStrategy right
    Returns
    Type Description
    bool

    operator !=(DefaultProduceStrategy?, DefaultProduceStrategy?)

    This is the default produce strategy, which immediately pushes to the message broker via the underlying library and according to the endpoint settings.

    Declaration
    public static bool operator !=(DefaultProduceStrategy? left, DefaultProduceStrategy? right)
    Parameters
    Type Name Description
    DefaultProduceStrategy left
    DefaultProduceStrategy right
    Returns
    Type Description
    bool

    Implements

    IProduceStrategy
    IEquatable<T>
    IEquatable<T>
    GitHub E-Mail
    ↑ Back to top © 2026 Sergio Aquilini