Replies: 3 comments 3 replies
-
How are you attempting to publish the fire and forget messages? Please share some code that further demonstrates what you're trying to accomplish |
Beta Was this translation helpful? Give feedback.
-
This is the service from which I am firing the events:
And this is the controller on which I am trying to listen to the events:
|
Beta Was this translation helpful? Give feedback.
-
But wouldn't it be great to have Routing Logic for RabbitMq messages so that we do not have to add that conditional logic inside our handlers. Exactly like Nestjs routes the Http requests to the correct handler. |
Beta Was this translation helpful? Give feedback.
-
Hi, I am trying to implement a Fire and Forget system where the routing is done on the basis of the combination of RoutingKey and QueueName.
But it looks like the handlers only receive the message from the queue irrespective of the routingKey.
I get that the routingKey in the decorator is used to manage the queue binding. But is there anyway to do what I am trying to do?
Beta Was this translation helpful? Give feedback.
All reactions