Interface INormalizerDefinition
Fluent builder for configuring a Normalizer step.
Maps different input formats to a single canonical form using predicate-based routing.
public interface INormalizerDefinition
Methods
Otherwise(Func<IExchange, object?>)
Default transform when no predicate matches.
INormalizerDefinition Otherwise(Func<IExchange, object?> transform)
When(Func<IExchange, bool>, Func<IExchange, object?>)
When the predicate matches, apply the transform to normalize the body.
INormalizerDefinition When(Func<IExchange, bool> predicate, Func<IExchange, object?> transform)
WhenContentType(string, Func<IExchange, object?>)
When the content type matches, apply the transform to normalize the body.
INormalizerDefinition WhenContentType(string contentType, Func<IExchange, object?> transform)