Class BodyExpression

Assembly: redb.Route.dll

Expression for accessing the message body in an .

public class BodyExpression : Expression, IExpression

Inheritance

Object→Expression→BodyExpression

Implements

Inherited Members

Methods

Evaluate<T>(IExchange)

Evaluates the expression and returns the result cast to T.

public override T Evaluate<T>(IExchange exchange)

SetValue(IExchange, object)

Sets a value in the exchange according to this expression's semantics.

public override void SetValue(IExchange exchange, object value)

ToTemplateString()

Serializes this expression to a ${...} template string suitable for URI parameters.

public override string ToTemplateString()

Constructors

BodyExpression()

Initializes a new instance of the class.

Remarks

Allows extracting and converting the message body
for use in predicates and routing logic.