![]() ![]() Then, it’s the task of the framework that routes the message through the transport infrastructure (Azure Service Bus, Amazon SQS, RabbitMq). The web application will send a message using MassTransit. Once created, we want to send emails and SMS notifications to the guests, but we want these operations not to impact the web app and instead are carried out by services created specifically for this type of task. In the example I present, we will have a web app implemented with Razor Pages, which will give the user the ability to create meetings. Transparent management of exceptions, retries and poisoned messages įor a complete list of features, take a look at this link.This framework offers us some important features, in addition to the basic features that each Service Bus should make available. In particular, in the projects we worked on, we used it to integrate a web app with a windows service to manage some prolonged running operations without impacting the web application. The client uses the Masstransit framework as an implementation of a Service Bus. ![]() If the processing fails, depending on the configuration of the error management policies, apply strategies to reprocess it. When a message is successfully managed, it reports to the broker that the message can be deleted. From the point of view of the application that manages the message, the Service Bus must be able to pick up the messages and trigger processes to handle them. When an application needs to send a message, it will do using a dedicated Service Bus method that, internally, will be responsible for routing it to one or more endpoints that can handle it. In the last year and a half, I have had the opportunity to work for a client with a strongly microservice-oriented architecture to support his system consisting of several applications and services that interoperate in an asynchronous way using a Service Bus.Ī Service Bus is an integration service that allows interoperability among heterogeneous components in a distributed system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |