NatsBuilderExtensions

Extension methods to register NATS queue services.

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

Methods

AddNatsQueueService

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

Signature:
public IKpokPatagonBuilder AddNatsQueueService(builder, configurationKey, lifetime)
Parameters
Name Type Summary
builder IKpokPatagonBuilder
configurationKey String
lifetime ServiceLifetime

In this document