Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Div
classconfluenceTableSmall

Option

Default

Description

resourceResolverFactoryDefaultValidatorResourceResolverFactoryCamel 2.17: Reference to a org.apache.camel.component.validator.ValidatorResourceResolverFactory which creates a resource resolver per endpoint. The default implementation returns creates an instance of org.apache.camel.component.validator.DefaultLSResourceResolver per endpoint which creates the default resource resolver org.apache.camel.component.validator.DefaultLSResourceResolverwhich . The default resource resolver reads the schema files from the classpath and the file system. This option instead of the option resourceResolver shall be used when the resource resolver depends on the resource URI of the root schema document specified in the endpoint; for example, if you want to extend the default resource resolver. This option is also available on the validator component, so that you can set the resource resolver factory only once for all endpoints.

resourceResolver

null

Camel 2.9: Reference to a org.w3c.dom.ls.LSResourceResolver in the Registry.

useDom

false

Whether DOMSource/DOMResult or SaxSource/SaxResult should be used by the validator.

useSharedSchema

true

Camel 2.3: Whether the Schema instance should be shared or not. This option is introduced to work around a JDK 1.6.x bug. Xerces should not have this issue.

failOnNullBody

true

Camel 2.9.5/2.10.3: Whether to fail if no body exists.

headerName

null

Camel 2.11: To validate against a header instead of the message body.

failOnNullHeader

true

Camel 2.11: Whether to fail if no header exists when validating against a header.

...