Skip to content

[Host.RabbitMq] Add RabbitMQ Publisher Confirms (Opt-In) #360

Closed

Description

@zarusz

Feature Request: Add RabbitMQ Publisher Confirms to SlimMessageBus (Opt-In)

Description:

Introduce support for RabbitMQ Publisher Confirms in the SlimMessageBus library as an optional feature. Publisher Confirms provide a reliable mechanism for ensuring that messages published to RabbitMQ are successfully received by the broker. This feature is critical for scenarios where guaranteed message delivery is a priority.

Background:

RabbitMQ Publisher Confirms offer a robust way to handle acknowledgment of published messages, ensuring they are properly queued. This mechanism is well-documented and widely adopted in systems requiring high reliability. Adding support for this feature would enhance the library's reliability and extend its utility in more demanding production environments.

Suggested Implementation:

  • Add an optional configuration in SlimMessageBus for enabling Publisher Confirms.
  • Provide a clear API or settings to enable this feature at the bus or message producer level.
  • Implement appropriate acknowledgment handling logic, allowing applications to act on success or failure of message publication.
  • Include documentation and examples to demonstrate how to use this feature.

Related Discussions:

Benefits:

  • Improves reliability for message delivery in RabbitMQ.
  • Enhances SlimMessageBus's appeal to developers seeking robust message handling.
  • Provides an opt-in mechanism, ensuring no breaking changes for existing users.

Thank you for considering this enhancement!

Activity

  1. cord-agencyroot commented on Feb 25, 2026

    @cord-agencyroot

    This would be super important to me. I was testing this locally and when using Outbox with RabbitMQ, it would publish to the outbox and mark the message as delivered even though the RabbitMQ container was stopped. This would cause missed messages that look like they were successfully sent to the exchange. I wouldn't use this in production until RabbitMQ confirmation is enabled.

    I can help make a PR for this but I saw you are working on updating to the latest version of RabbitMQ.

  2. zarusz commented on Feb 25, 2026

    @zarusz
    OwnerAuthor

    hey @cord-agencyroot, a PR contribution is welcome, also happy to review it.

    Yes, I started the RMQ client upgrade and planning to finish it here soon as part of 3.4.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions