Replies: 2 comments 2 replies
-
Your code looks fine, but I do have one question: What do you mean when you say that your "event handlers aren't firing"? 1: How do you publish the events? Please provide me with more details and I'll help you solve your problem 🙂 |
Beta Was this translation helpful? Give feedback.
-
Hi @alsahe26 , First off, using in-mem transport requires that your sender and your receiver both are running in the same process, as they will need to share the In other words, you need to use a REAL transport (e.g. like RabbitMQ and Azure Service Bus, which you mention) to communicate from your web tier to your background service. Why it works for you with RabbitMQ and not with Azure Service Bus, I cannot tell from the code you posted. I bet your logs will reveal why 🙂 Could you try looking at them? |
Beta Was this translation helpful? Give feedback.
-
Hi all!
I have a simple pub (Web.API) /sub (Console) implementation with a very strange behaviour. With Rabbit.MQ as transport, the event handlers fires correcty but when i change to inMemory or Azure Service Bus transport, didn't work. Some recommendation?
.NET 8 with the latest rebus packages (8.2.2).
Pub (Web.API):
Sub (Console):
Any help? Thank you!
Beta Was this translation helpful? Give feedback.
All reactions