Class DirectVmConsumer

Assembly: redb.Route.dll

Direct-VM consumer. Registers the processor in the shared registry on Start,
unregisters on Stop. Only one consumer per name allowed globally.

public class DirectVmConsumer : IConsumer

Inheritance

Object→DirectVmConsumer

Implements

Properties

Endpoint

The endpoint this consumer is attached to (for diagnostics/logging).

public IEndpoint Endpoint { get; }

Methods

Start(CancellationToken)

Starts consuming messages.

public Task Start(CancellationToken ct = default)

Stop(CancellationToken)

Stops consuming messages.

public Task Stop(CancellationToken ct = default)

Constructors