DEV Community

Discussion on: CQRS In Microservices - A Practical Example

 
thatham profile image
Venkatesh Thatham

If you try to execute the tenant->post of service project, the message will be sent using "endpoint.Send" method. I also have a consumer class (Handler in CQRS) for the command, upon receiving the message the event will be registered in presisted event store database(here it's cosmos DB).

Then, I try to publish an event using IPublishEndpoint which is not working.

Thread Thread
 
thatham profile image
Venkatesh Thatham

Looking forward to be hearing from you...