Class SedaProducer

Assembly: redb.Route.dll

SEDA producer. Enqueues the exchange into the channel and returns immediately.
The exchange is processed asynchronously by the consumer.

public class SedaProducer : IProducer, IProcessor

Inheritance

Object→SedaProducer

Implements

Methods

Process(IExchange, CancellationToken)

Processes the exchange asynchronously.

public Task Process(IExchange exchange, CancellationToken ct = default)

Start(CancellationToken)

Starts the producer.

public Task Start(CancellationToken ct = default)

Stop(CancellationToken)

Stops the producer.

public Task Stop(CancellationToken ct = default)

Constructors

SedaProducer(SedaEndpoint)

Creates a SEDA producer.