Class BeanDefinition

Assembly: redb.Route.dll

Leaf definition that resolves a DI service and invokes a method on it (service activator/bean).

public sealed class BeanDefinition : ProcessorDefinition, IProcessorDefinition

Inheritance

Object→ProcessorDefinition→BeanDefinition

Implements

Inherited Members

Properties

Method

Normalized delegate invoked with (service, exchange, ct).

public Func<object, IExchange, CancellationToken, Task> Method { get; }

ServiceType

Service type resolved from DI.

public Type ServiceType { get; }

Methods

CreateProcessor(IRouteContext)

Compile this node into a runtime processor.

public override IProcessor CreateProcessor(IRouteContext context)

Constructors