Schematron

Schematron

Scheme: schematron
Syntax: schematron:path
Description: Validates the payload of a message using the Schematron Library.
Deprecated:false
ProducerOnly:true
Async:false
Maven: org.apache.camel/camel-schematron/2.18.1.redhat-000032

Validates the payload of a message using the Schematron Library.

Name Kind Group Required Default Type Enum Description
path path producer true java.lang.String The path to the schematron rules file. Can either be in class path or location in the file system.
bridgeErrorHandler parameter consumer boolean Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN/ERROR level and ignored.
exceptionHandler parameter consumer (advanced) org.apache.camel.spi.ExceptionHandler To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this options is not in use. By default the consumer will deal with exceptions, that will be logged at WARN/ERROR level and ignored.
exchangePattern parameter consumer (advanced) org.apache.camel.ExchangePattern InOnly
RobustInOnly
InOut
InOptionalOut
OutOnly
RobustOutOnly
OutIn
OutOptionalIn
Sets the exchange pattern when the consumer creates an exchange.
abort parameter producer boolean Flag to abort the route and throw a schematron validation exception.
rules parameter producer javax.xml.transform.Templates To use the given schematron rules instead of loading from the path
synchronous parameter advanced false boolean Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).
uriResolver parameter advanced javax.xml.transform.URIResolver Set the {@link URIResolver} to be used for resolving schematron includes in the rules file.