Class LenientPropertiesAttribute

Namespace: redb.Route.Core
Assembly: redb.Route.dll

Declares that an endpoint options class takes URI parameters it has no property for, and reads
them itself from (http: and sql:
pass param.* on, bean: sets them on the bean). Without it an unknown parameter is
refused when the endpoint is created: a misspelt option name would otherwise be dropped without a
word and the option would keep its default.

The counterpart of Apache Camel's Component.isLenientProperties(), which is also
false unless a component says otherwise. It is an attribute on the options type, not a
property of an endpoint instance, so tooling (the Route-XML catalog, the XSD, check) reads
it by reflection without creating an endpoint — see .

[AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = false)]
public sealed class LenientPropertiesAttribute : Attribute

Inheritance

Object→Attribute→LenientPropertiesAttribute