Class SetBodyFactoryDefinition

Assembly: redb.Route.dll

Leaf definition that sets the exchange body using a factory function.

public sealed class SetBodyFactoryDefinition : ProcessorDefinition, IProcessorDefinition

Inheritance

Object→ProcessorDefinition→SetBodyFactoryDefinition

Implements

Inherited Members

Methods

CreateProcessor(IRouteContext)

Compile this node into a runtime processor.

public override IProcessor CreateProcessor(IRouteContext context)

Constructors

SetBodyFactoryDefinition(Func<IExchange, object?>)

Creates a set-body definition using a factory.