@UriEndpoint(firstVersion="1.0.0",
scheme="xquery",
title="XQuery",
syntax="xquery:resourceUri",
label="transformation")
public class XQueryEndpoint
extends org.apache.camel.impl.ProcessorEndpoint
Constructor and Description |
---|
XQueryEndpoint(String endpointUri,
org.apache.camel.Component component) |
Modifier and Type | Method and Description |
---|---|
protected void |
doStart() |
protected void |
doStop() |
net.sf.saxon.Configuration |
getConfiguration() |
Map<String,Object> |
getConfigurationProperties() |
String |
getHeaderName() |
net.sf.saxon.lib.ModuleURIResolver |
getModuleURIResolver() |
Map<String,String> |
getNamespacePrefixes() |
Map<String,Object> |
getParameters() |
Properties |
getProperties() |
String |
getResourceUri() |
ResultFormat |
getResultsFormat() |
Class<?> |
getResultType() |
net.sf.saxon.query.StaticQueryContext |
getStaticQueryContext() |
boolean |
isAllowStAX() |
boolean |
isStripsAllWhiteSpace() |
void |
setAllowStAX(boolean allowStAX)
Whether to allow using StAX mode
|
void |
setConfiguration(net.sf.saxon.Configuration configuration)
To use a custom Saxon configuration
|
void |
setConfigurationProperties(Map<String,Object> configurationProperties)
To set custom Saxon configuration properties
|
void |
setHeaderName(String headerName)
To use a Camel Message header as the input source instead of Message body.
|
void |
setModuleURIResolver(net.sf.saxon.lib.ModuleURIResolver moduleURIResolver)
To use the custom
ModuleURIResolver |
void |
setNamespacePrefixes(Map<String,String> namespacePrefixes)
Allows to control which namespace prefixes to use for a set of namespace mappings
|
void |
setParameters(Map<String,Object> parameters)
Additional parameters
|
void |
setProperties(Properties properties)
Properties to configure the serialization parameters
|
void |
setResourceUri(String resourceUri)
The name of the template to load from classpath or file system
|
void |
setResultsFormat(ResultFormat resultsFormat)
What output result to use
|
void |
setResultType(Class<?> resultType)
What output result to use defined as a class
|
void |
setStaticQueryContext(net.sf.saxon.query.StaticQueryContext staticQueryContext)
To use a custom Saxon StaticQueryContext
|
void |
setStripsAllWhiteSpace(boolean stripsAllWhiteSpace)
Whether to strip all whitespaces
|
createPollingConsumer, createProcessor, createProducer, getProcessor, isSingleton, onExchange, setProcessor
configurePollingConsumer, configureProperties, configureScheduledPollConsumerProperties, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDelay, getInitialDelay, getPollStrategy, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, initConsumerProperties, isGreedy, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelay
configureConsumer, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, 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 XQueryEndpoint(String endpointUri, org.apache.camel.Component component)
public String getResourceUri()
public void setResourceUri(String resourceUri)
public net.sf.saxon.Configuration getConfiguration()
public void setConfiguration(net.sf.saxon.Configuration configuration)
public void setConfigurationProperties(Map<String,Object> configurationProperties)
public net.sf.saxon.query.StaticQueryContext getStaticQueryContext()
public void setStaticQueryContext(net.sf.saxon.query.StaticQueryContext staticQueryContext)
public void setNamespacePrefixes(Map<String,String> namespacePrefixes)
public ResultFormat getResultsFormat()
public void setResultsFormat(ResultFormat resultsFormat)
public Properties getProperties()
public void setProperties(Properties properties)
public Class<?> getResultType()
public void setResultType(Class<?> resultType)
public boolean isStripsAllWhiteSpace()
public void setStripsAllWhiteSpace(boolean stripsAllWhiteSpace)
public net.sf.saxon.lib.ModuleURIResolver getModuleURIResolver()
public void setModuleURIResolver(net.sf.saxon.lib.ModuleURIResolver moduleURIResolver)
ModuleURIResolver
public boolean isAllowStAX()
public void setAllowStAX(boolean allowStAX)
public String getHeaderName()
public void setHeaderName(String headerName)
protected void doStart() throws Exception
doStart
in class org.apache.camel.impl.ScheduledPollEndpoint
Exception
Apache Camel