© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
17 replies
M B V R K

❔ Is it Possible to Consume a Queue Message by Multiple Consumers ( RabbitMQ & MassTransit ) ?

Hi friends,
I'm working on a project using
Microservices
Microservices
architecture, I have
AuthService
AuthService
,
ExpenseService
ExpenseService
and
EventSourcererService
EventSourcererService
, the last one is used as a separated service for Event-Sourcing for all other services.

When a nnew
User
User
created in the
AuthService
AuthService
a message will be published to the
AuthService-UserCreatedEventQueue
AuthService-UserCreatedEventQueue
Queue, inside the
ExpenseService
ExpenseService
I have a consumer who configured to consume the messages in that queue, inside the
EventSourcererService
EventSourcererService
I have an other consumer who also configured to consume the published messasges in the
AuthService-UserCreatedEventQueue
AuthService-UserCreatedEventQueue
Queue.

The issue:
When the user created only one consumer who get triggered and the other not.
For example when a user created the consumer in the
ExpenseService
ExpenseService
do his job by consuming that message, but the
EventSourcererService
EventSourcererService
's consumer not triggered.

I knew later that using
MassTransit
MassTransit
and
RabbitMQ
RabbitMQ
only one
Consumer
Consumer
who can consume the message in a queue.

So please from your experience how do I can consume the same message from the same queue by multiple consumers ?

And maassive thanks in advance <3
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Background service to consume a rabbitmq queue, messages unacked
C#CC# / help
3y ago
✅ MassTransit with RabbitMQ Exception
C#CC# / help
3y ago
MassTransit: Consumers not getting called
C#CC# / help
3y ago
Message Broker / Queue - Wolverine vs. EasyNetQ vs. MassTransit
C#CC# / help
6mo ago