@ManagedResource(description="Managed XJEndpoint")
@UriEndpoint(firstVersion="3.0.0",
scheme="xj",
title="XJ",
syntax="xj:resourceUri",
producerOnly=true,
label="transformation")
public class XJEndpoint
extends org.apache.camel.component.xslt.saxon.XsltSaxonEndpoint
Constructor and Description |
---|
XJEndpoint(String endpointUri,
org.apache.camel.Component component) |
Modifier and Type | Method and Description |
---|---|
protected void |
configureInput(org.apache.camel.component.xslt.XsltBuilder xsltBuilder)
Configures the source input depending on the
transformDirection |
protected void |
configureJsonOutput(org.apache.camel.component.xslt.XsltBuilder xsltBuilder,
String output)
Configures the result output when transforming to JSON
|
protected void |
configureOutput(org.apache.camel.component.xslt.XsltBuilder xsltBuilder,
String output)
Configures the result output depending on the
transformDirection |
protected org.apache.camel.component.xslt.saxon.XsltSaxonBuilder |
createXsltBuilder() |
protected void |
doInit() |
TransformDirection |
getTransformDirection() |
void |
setTransformDirection(TransformDirection transformDirection)
Sets the transform direction.
|
doStart, getSaxonConfiguration, getSaxonConfigurationProperties, getSaxonExtensionFunctions, getSaxonReaderProperties, isAllowStAX, loadResource, setAllowStAX, setSaxonConfiguration, setSaxonConfigurationProperties, setSaxonExtensionFunctions, setSaxonExtensionFunctions, setSaxonReaderProperties
clearCachedStylesheet, doStop, findOrCreateEndpoint, getEntityResolver, getErrorListener, getOutput, getParameters, getResourceUri, getResultHandlerFactory, getTransformerCacheSize, getTransformerFactory, getTransformerFactoryClass, getTransformerFactoryConfigurationStrategy, getUriResolver, getXslt, isCacheCleared, isCacheStylesheet, isContentCache, isDeleteOutputFile, isFailOnNullBody, onExchange, setCacheCleared, setContentCache, setDeleteOutputFile, setEntityResolver, setErrorListener, setFailOnNullBody, setOutput, setParameters, setResourceUri, setResultHandlerFactory, setTransformerCacheSize, setTransformerFactory, setTransformerFactoryClass, setTransformerFactoryConfigurationStrategy, setUriResolver, setXslt
createPollingConsumer, createProcessor, createProducer, getProcessor, setProcessor
configureConsumer, configureProperties, configureScheduledPollConsumerProperties, doConfigureConsumer, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDelay, getInitialDelay, getPollStrategy, getRepeatCount, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, isGreedy, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRepeatCount, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelay
configurePollingConsumer, createAsyncProducer, createEndpointUri, createExchange, createExchange, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBasicPropertyBinding, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isSingleton, isSynchronous, setBasicPropertyBinding, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
build, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public XJEndpoint(String endpointUri, org.apache.camel.Component component)
@ManagedAttribute(description="Transform direction") public TransformDirection getTransformDirection()
public void setTransformDirection(TransformDirection transformDirection)
protected void doInit() throws Exception
doInit
in class org.apache.camel.component.xslt.saxon.XsltSaxonEndpoint
Exception
protected org.apache.camel.component.xslt.saxon.XsltSaxonBuilder createXsltBuilder() throws Exception
createXsltBuilder
in class org.apache.camel.component.xslt.saxon.XsltSaxonEndpoint
Exception
protected void configureInput(org.apache.camel.component.xslt.XsltBuilder xsltBuilder)
transformDirection
protected void configureOutput(org.apache.camel.component.xslt.XsltBuilder xsltBuilder, String output) throws Exception
transformDirection
configureOutput
in class org.apache.camel.component.xslt.XsltEndpoint
Exception
protected void configureJsonOutput(org.apache.camel.component.xslt.XsltBuilder xsltBuilder, String output)
Apache Camel