@UriEndpoint(firstVersion="2.12.0",
scheme="mvel",
title="MVEL",
syntax="mvel:resourceUri",
producerOnly=true,
category={TRANSFORMATION,SCRIPT})
public class MvelEndpoint
extends org.apache.camel.component.ResourceEndpoint
Constructor and Description |
---|
MvelEndpoint(String uri,
MvelComponent component,
String resourceUri) |
Modifier and Type | Method and Description |
---|---|
protected String |
createEndpointUri() |
MvelEndpoint |
findOrCreateEndpoint(String uri,
String newResourceUri) |
String |
getEncoding() |
org.apache.camel.ExchangePattern |
getExchangePattern() |
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 |
setEncoding(String encoding)
Character encoding of the resource content.
|
clearContentCache, getCamelId, getCamelManagementName, getResourceAsInputStream, getResourceAsInputStreamWithoutCache, getResourceUri, getState, isAllowContextMapAll, isContentCache, isContentCacheCleared, loadResource, setAllowContextMapAll, setContentCache, setResourceUri
createPollingConsumer, createProcessor, createProducer, getProcessor, setProcessor
configureConsumer, 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, setUseFixedDelay
configureExchange, 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, 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 MvelEndpoint(String uri, MvelComponent component, String resourceUri)
public org.apache.camel.ExchangePattern getExchangePattern()
getExchangePattern
in interface org.apache.camel.Endpoint
getExchangePattern
in class org.apache.camel.support.DefaultEndpoint
protected String createEndpointUri()
createEndpointUri
in class org.apache.camel.support.DefaultEndpoint
public boolean isAllowTemplateFromHeader()
public void setAllowTemplateFromHeader(boolean allowTemplateFromHeader)
public String getEncoding()
public void setEncoding(String encoding)
protected void onExchange(org.apache.camel.Exchange exchange) throws Exception
onExchange
in class org.apache.camel.support.ProcessorEndpoint
Exception
public MvelEndpoint findOrCreateEndpoint(String uri, String newResourceUri)
Apache Camel