![]() ![]() These are registered using the AddConsumer method on the MassTransit Configuration Builder. Net class that implements IConsumer and is some what similar to an ASP.Net Controller but with only a single action. A Record is the currently recommended best practice.Ī Consumer is a. In MassTransit these can be a Class, Interface, or a Record. # Quick note on terminologyĪ Message in MassTransit is just a Plain Old CLR Object or POCO for short. Each transport has its own UsingXxx method. The UsingInMemory (and UsingRabbitMq) method specifies the transport to use for the bus. Next up, the AddMassTransit extension is used to configure the bus in the container. We will configure the HostBuilder to use MassTransit, we will create a message, a consumer of that message.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |