Search Results for

    Show / Hide Table of Contents

    Class ChaparMassTransitExtensions

    Extension methods for IServiceCollection to register Chapar services backed by MassTransit and RabbitMQ.

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

    Properties

    | Edit this page View Source

    ConfigureBusRegistrationCallback

    Static callback that additional packages (e.g., Chapar.MassTransit.Outbox) can set to inject configuration into AddChaparMassTransit without calling AddMassTransit a second time.

    Declaration
    public static Action<ChaparMassTransitOptions>? ConfigureBusRegistrationCallback { get; set; }
    Property Value
    Type Description
    Action<ChaparMassTransitOptions>

    Methods

    | Edit this page View Source

    AddChaparMassTransit(IServiceCollection, Action<ChaparMassTransitOptions>, params Assembly[])

    Registers Chapar using MassTransit with RabbitMQ.

    Declaration
    public static IServiceCollection AddChaparMassTransit(this IServiceCollection services, Action<ChaparMassTransitOptions> configure, params Assembly[] handlerAssemblies)
    Parameters
    Type Name Description
    IServiceCollection services

    The service collection.

    Action<ChaparMassTransitOptions> configure

    An action to customize the MassTransit/RabbitMQ options.

    Assembly[] handlerAssemblies

    Assemblies to scan for IMessageHandler<TMessage> implementations.

    Returns
    Type Description
    IServiceCollection
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2026