Component evidence

RabbitMq/RabbitMqEventBus.cs

dotnet-starter-kit · src/BuildingBlocks/Eventing/RabbitMq/RabbitMqEventBus.cs · csharp · MIT
infra

RabbitMQ implementation of IEventBus for distributed events.

Source preview first 800 characters · full source over MCP
// Source: https://github.com/fullstackhero/dotnet-starter-kit | License: MIT | Copyright 2021-2026 fullstackhero
// Provided via justclaw.it.com; keep this notice with the code.
using FSH.Framework.Eventing.Abstractions;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using RabbitMQ.Client;
using System.Text;

namespace FSH.Framework.Eventing.RabbitMq;

/// <summary>
/// RabbitMQ-based event bus implementation for distributed deployments.
/// Publishes integration events to a fanout exchange.
/// </summary>
public sealed partial class RabbitMqEventBus : IEventBus, IAsyncDisposable
{
    private readonly IEventSerializer _serializer;
    private readonly ILogger<RabbitMqEventBus> _logger;
    private readonly RabbitMqOptions _options;
    private readonly SemaphoreS

... (truncated -- full source via MCP)