@UriEndpoint(firstVersion="2.15.0",
scheme="schematron",
title="Schematron",
syntax="schematron:path",
producerOnly=true,
label="validation")
public class SchematronEndpoint
extends org.apache.camel.impl.DefaultEndpoint
Constructor and Description |
---|
SchematronEndpoint() |
SchematronEndpoint(String endpointUri) |
SchematronEndpoint(String uri,
String path,
SchematronComponent component) |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
protected void |
doStart() |
String |
getPath() |
Templates |
getRules() |
URIResolver |
getUriResolver() |
boolean |
isAbort() |
boolean |
isSingleton() |
void |
setAbort(boolean abort)
Flag to abort the route and throw a schematron validation exception.
|
void |
setPath(String path)
The path to the schematron rules file.
|
void |
setRules(Templates rules)
To use the given schematron rules instead of loading from the path
|
void |
setUriResolver(URIResolver uriResolver)
Set the
URIResolver to be used for resolving schematron includes in the rules file. |
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public SchematronEndpoint()
public SchematronEndpoint(String uri, String path, SchematronComponent component)
public SchematronEndpoint(String endpointUri)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
public boolean isSingleton()
public String getPath()
public void setPath(String path)
public void setAbort(boolean abort)
public boolean isAbort()
public Templates getRules()
public void setRules(Templates rules)
public void setUriResolver(URIResolver uriResolver)
URIResolver
to be used for resolving schematron includes in the rules file.public URIResolver getUriResolver()
Apache Camel