Method SetBody(Func<IExchange, object?>)

Assembly: redb.Route.dll

Sets the exchange body using a factory.

IRouteDefinition SetBody(Func<IExchange, object?> factory)