Search Results for

    Show / Hide Table of Contents

    Class ChaparMassTransitOptions

    Configuration options for the MassTransit‑based Chapar bus.

    Inheritance
    object
    ChaparMassTransitOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Chapar.MassTransit.Options
    Assembly: Chapar.MassTransit.dll
    Syntax
    public class ChaparMassTransitOptions

    Properties

    | Edit this page View Source

    ConfigureBusRegistration

    An optional callback that allows additional MassTransit configuration at the bus registration level (e.g., adding Entity Framework outbox). This is invoked before the RabbitMQ transport is configured.

    Declaration
    public Action<IBusRegistrationConfigurator>? ConfigureBusRegistration { get; set; }
    Property Value
    Type Description
    Action<IBusRegistrationConfigurator>
    | Edit this page View Source

    ConfigureRabbitMq

    An optional callback that allows additional MassTransit configuration at the RabbitMQ transport level. This is invoked after the standard Chapar configuration.

    Declaration
    public Action<IBusRegistrationContext, IRabbitMqBusFactoryConfigurator>? ConfigureRabbitMq { get; set; }
    Property Value
    Type Description
    Action<IBusRegistrationContext, IRabbitMqBusFactoryConfigurator>
    | Edit this page View Source

    DefaultExchanges

    Default exchanges that will be bound to every consumer queue that does not carry an explicit ExchangeAttribute or QueueNameAttribute. Handlers decorated with those attributes are responsible for their own bindings.

    Declaration
    public List<ExchangeConfig> DefaultExchanges { get; set; }
    Property Value
    Type Description
    List<ExchangeConfig>
    | Edit this page View Source

    DefaultHeaders

    Headers that will be added to every outgoing message unless overridden per message. Useful for multi‑tenancy, tracing, etc.

    Declaration
    public Dictionary<string, object> DefaultHeaders { get; set; }
    Property Value
    Type Description
    Dictionary<string, object>
    | Edit this page View Source

    ExchangeNamePrefix

    Optional prefix added to generated exchange/entity names.

    Declaration
    public string? ExchangeNamePrefix { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    ExchangeNameSuffix

    Optional suffix added to generated exchange/entity names.

    Declaration
    public string? ExchangeNameSuffix { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Host

    RabbitMQ host name or IP address.

    Declaration
    public string Host { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    MessageTypeMappings

    Explicit broker-level message name mappings keyed by message CLR full name.

    Declaration
    public IDictionary<string, string> MessageTypeMappings { get; }
    Property Value
    Type Description
    IDictionary<string, string>
    | Edit this page View Source

    Password

    Login password.

    Declaration
    public string Password { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    QueueNamePrefix

    Optional prefix added to generated queue names.

    Declaration
    public string? QueueNamePrefix { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    QueueNameSuffix

    Optional suffix added to generated queue names.

    Declaration
    public string? QueueNameSuffix { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Resilience

    Settings for retry and circuit breaker policies applied by MassTransit.

    Declaration
    public ResilienceOptions Resilience { get; set; }
    Property Value
    Type Description
    ResilienceOptions
    | Edit this page View Source

    Username

    Login username.

    Declaration
    public string Username { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    VirtualHost

    RabbitMQ virtual host (default is "/").

    Declaration
    public string VirtualHost { get; set; }
    Property Value
    Type Description
    string
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2026