Method ResolveExpression(string, IExchange)

Assembly: redb.Route.dll

Evaluates an expression in the context of an exchange, by the same engine as every other position: a text with
\({...}</code> placeholders renders as a template, any other text reads exactly as the inside of a <code>\){...}
hole (a bare path is a lookup, an unquoted jpath/xpath path is allowed). What a payload template's
expr(...) calls.

public static object? ResolveExpression(string expression, IExchange exchange)

Remarks

Until rows 2 and 22 of the 2026-11-05 findings register this was a dispatcher of its own: it sent a text to the
expression engine only when it saw an operator written with spaces, a function call or an index, and returned any
other text as it was, so expr('1>0') gave the text "1>0" and a bean: call came back unevaluated.