@UriEndpoint(firstVersion="2.16.0",
scheme="jolt",
title="JOLT",
syntax="jolt:resourceUri",
producerOnly=true,
category=TRANSFORMATION)
public class JoltEndpoint
extends org.apache.camel.component.ResourceEndpoint
| Constructor and Description |
|---|
JoltEndpoint() |
JoltEndpoint(String uri,
JoltComponent component,
String resourceUri) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
createEndpointUri() |
JoltEndpoint |
findOrCreateEndpoint(String uri,
String newResourceUri) |
org.apache.camel.ExchangePattern |
getExchangePattern() |
JoltInputOutputType |
getInputType() |
JoltInputOutputType |
getOutputType() |
JoltTransformType |
getTransformDsl() |
boolean |
isAllowTemplateFromHeader() |
protected void |
onExchange(org.apache.camel.Exchange exchange) |
void |
setAllowTemplateFromHeader(boolean allowTemplateFromHeader)
Whether to allow to use resource template from header or not (default false).
|
void |
setInputType(JoltInputOutputType inputType)
Specifies if the input is hydrated JSON or a JSON String.
|
void |
setOutputType(JoltInputOutputType outputType)
Specifies if the output should be hydrated JSON or a JSON String.
|
void |
setTransform(com.bazaarvoice.jolt.JoltTransform transform)
Sets the Transform to use.
|
void |
setTransformDsl(JoltTransformType transformType)
Specifies the Transform DSL of the endpoint resource.
|
clearContentCache, getCamelId, getCamelManagementName, getResourceAsInputStream, getResourceAsInputStreamWithoutCache, getResourceUri, getState, isAllowContextMapAll, isContentCache, isContentCacheCleared, loadResource, setAllowContextMapAll, setContentCache, setResourceUricreatePollingConsumer, createProcessor, createProducer, getProcessor, setProcessorconfigureConsumer, configureProperties, configureScheduledPollConsumerProperties, doConfigureConsumer, doStart, doStop, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDefaultDelay, 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, setUseFixedDelayconfigureExchange, configurePollingConsumer, createAsyncProducer, createExchange, createExchange, doInit, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isPollingConsumerCopy, isSingleton, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerCopy, setPollingConsumerQueueSize, setProperties, toStringbuild, 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, suspendclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic JoltEndpoint()
public JoltEndpoint(String uri, JoltComponent component, String resourceUri)
public org.apache.camel.ExchangePattern getExchangePattern()
getExchangePattern in interface org.apache.camel.EndpointgetExchangePattern in class org.apache.camel.support.DefaultEndpointprotected String createEndpointUri()
createEndpointUri in class org.apache.camel.support.DefaultEndpointpublic void setTransform(com.bazaarvoice.jolt.JoltTransform transform)
public JoltInputOutputType getOutputType()
public void setOutputType(JoltInputOutputType outputType)
public JoltInputOutputType getInputType()
public void setInputType(JoltInputOutputType inputType)
public JoltTransformType getTransformDsl()
public void setTransformDsl(JoltTransformType transformType)
Chainr will be used.public boolean isAllowTemplateFromHeader()
public void setAllowTemplateFromHeader(boolean allowTemplateFromHeader)
public JoltEndpoint findOrCreateEndpoint(String uri, String newResourceUri)
Apache Camel