Name | Kind | Type | Required | Deprecated | Default Value | Enum Values | Description |
---|---|---|---|---|---|---|---|
resourceUri | path | java.lang.String | true | false | URL to a local resource on the classpath or a full URL to a remote resource or resource on the file system which contains the XSD to validate against. | ||
schemaLanguage | parameter | java.lang.String | false | http://www.w3.org/2001/XMLSchema | Configures the W3C XML Schema Namespace URI. | ||
schemaFactory | parameter | javax.xml.validation.SchemaFactory | false | To use a custom javax.xml.validation.SchemaFactory | |||
errorHandler | parameter | org.apache.camel.processor.validation.ValidatorErrorHandler | false | To use a custom org.apache.camel.processor.validation.ValidatorErrorHandler. The default error handler captures the errors and throws an exception. | |||
useDom | parameter | boolean | false | Whether DOMSource/DOMResult or SaxSource/SaxResult should be used by the validator. | |||
useSharedSchema | parameter | boolean | false | true | 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. | ||
resourceResolver | parameter | org.w3c.dom.ls.LSResourceResolver | false | To use a custom LSResourceResolver | |||
failOnNullBody | parameter | boolean | false | true | Whether to fail if no body exists. | ||
failOnNullHeader | parameter | boolean | false | true | Whether to fail if no header exists when validating against a header. | ||
headerName | parameter | java.lang.String | false | To validate against a header instead of the message body. | |||
exchangePattern | parameter | org.apache.camel.ExchangePattern | false | InOnly | InOnly RobustInOnly InOut InOptionalOut OutOnly RobustOutOnly OutIn OutOptionalIn |
Sets the default exchange pattern when creating an exchange | |
synchronous | parameter | boolean | false | false | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). |