@UriEndpoint(scheme="jolt",
title="JOLT",
syntax="jolt:resourceUri",
producerOnly=true,
label="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() |
boolean |
isSingleton() |
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.Transform 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, setResourceUri
createPollingConsumer, createProcessor, createProducer, getProcessor, setProcessor
configurePollingConsumer, configureProperties, configureScheduledPollConsumerProperties, doStart, doStop, 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, createExchange, createExchange, createExchange, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, 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 JoltEndpoint()
public JoltEndpoint(String uri, JoltComponent component, String resourceUri)
public boolean isSingleton()
isSingleton
in interface org.apache.camel.IsSingleton
isSingleton
in class org.apache.camel.impl.ProcessorEndpoint
public org.apache.camel.ExchangePattern getExchangePattern()
getExchangePattern
in class org.apache.camel.impl.DefaultEndpoint
protected String createEndpointUri()
createEndpointUri
in class org.apache.camel.impl.DefaultEndpoint
public void setTransform(com.bazaarvoice.jolt.Transform 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