Extension methods to register RabbitMQ queue services.
Adds a IQueueService implemented by RabbitQueueService using the specified configurationKey to add the service required QueueConnectionOptions.
public IServiceCollection AddKpokRabbitQueueService(services, configuration, configurationKey, lifetime)| Name | Type | Summary |
|---|---|---|
| services | IServiceCollection | The service collection. |
| configuration | IConfiguration | The configuration for the application. |
| configurationKey | String | The key for the cache configuration section. |
| lifetime | ServiceLifetime | The service lifetime. |
In this document