Class MarshalProcessor

Assembly: redb.Route.dll

Processor that marshals the exchange body to/from bytes using an .
Use in a pipeline to serialize before sending or deserialize after receiving.

public sealed class MarshalProcessor : IProcessor

Inheritance

Object→MarshalProcessor

Implements

Methods

Process(IExchange, CancellationToken)

Processes the exchange asynchronously.

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

Constructors

MarshalProcessor(IMessageSerializer)

Creates a marshal (serialize) processor.