RabbitBuilderExtensions

Extension methods to register RabbitMQ queue services.

Namespace:
KpokPatagon.Queue.RabbitMQ.DependencyInjection
Type:
Class
Public:
Yes
Protected:
No
Sealed:
Yes
Abstract:
Yes

Methods

AddKpokRabbitQueueService

Adds a IQueueService implemented by RabbitQueueService using the specified configurationKey to add the service required QueueConnectionOptions.

Signature:
public IServiceCollection AddKpokRabbitQueueService(services, configuration, configurationKey, lifetime)
Parameters
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.