Open Closed

Azure service bus publishing event is not receiving always in Microservice architecture. #6482


User avatar
0
imranStem created

I have a Microservice architecture and all microservices has the azure service bus configuration.

I am publishing the event from Microservice 1 and receiving in Microservice 2 and again publishing the event from Microservice 2 and receiving in Microservice 3.

But When I publish the event from Microservice 1, its not aways receiving in Microservice 2. Sometimes its receiving and publishing to Microservice 3.

I have also checked the Service Bus in azure portal and there is no active message once I publish the event from Microservice 1 means the event is subscribe by other subscription but not by Microservice 2. I have written receiving handler in Microservice 2 so only Microservice 2 should subscribe the event from Microservice 1.

Is there any way to specify the subscription name while publishing the data so only that subscriber can receive the event?

Shared ETOs

image.png
image.png

Publish event from Microservice 1
image.png

Receiving handler and publishing event in Microservice 2
image.png

Receiving handler in Microservice 3
image.png

  • ABP Framework version: v7.4.2

  • UI Type: Angular

  • Database System: EF Core (SQL Server)

  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

  • Exception message and full stack trace:

  • Steps to reproduce the issue:


2 Answer(s)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 25, 2025, 11:10