Skip to content

Add IServiceCollection extensions for RabbitMqClient#400

Merged
MrSmoke merged 2 commits intomasterfrom
rabbitmq-di
Mar 6, 2026
Merged

Add IServiceCollection extensions for RabbitMqClient#400
MrSmoke merged 2 commits intomasterfrom
rabbitmq-di

Conversation

@MrSmoke
Copy link
Member

@MrSmoke MrSmoke commented Mar 4, 2026

  • Add IServiceCollection extensions for RabbitMqClient.
  • Add QueueClientBuilder to make setting serialisers easier.

Usage

services.AddRabbitMq(config.GetSection("rabbitmq"))
    .UseSystemTextJsonSerializer();

@MrSmoke MrSmoke changed the title Add IServiceCollection exnteions for RabbitMqClient Add IServiceCollection extensions for RabbitMqClient Mar 4, 2026
@MrSmoke MrSmoke requested a review from kevinwell March 4, 2026 23:14

configure?.Invoke(settings);

o.Serializer = new NewtonsoftJsonMessageSerializer();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you forgot to pass the settings in

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

classic. fixed

@MrSmoke MrSmoke merged commit 2fc3b3f into master Mar 6, 2026
5 checks passed
@MrSmoke MrSmoke deleted the rabbitmq-di branch March 6, 2026 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants