Class BeanProducer

Assembly: redb.Route.dll

Producer invoking the bean's compiled delegate per exchange.

public sealed class BeanProducer : IProducer, IProcessor

Inheritance

Object→BeanProducer

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

BeanProducer(BeanEndpoint)

Creates the producer for a bean endpoint.