@Component(value="velocity")
public class VelocityComponent
extends org.apache.camel.support.DefaultComponent
| Constructor and Description |
|---|
VelocityComponent() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters) |
org.apache.velocity.app.VelocityEngine |
getVelocityEngine() |
boolean |
isAllowContextMapAll() |
boolean |
isAllowTemplateFromHeader() |
void |
setAllowContextMapAll(boolean allowContextMapAll)
Sets whether the context map should allow access to all details.
|
void |
setAllowTemplateFromHeader(boolean allowTemplateFromHeader)
Whether to allow to use resource template from header or not (default false).
|
void |
setVelocityEngine(org.apache.velocity.app.VelocityEngine velocityEngine)
To use the
VelocityEngine otherwise a new engine is created |
afterConfiguration, createEndpoint, createEndpoint, doBuild, doInit, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getComponentPropertyConfigurer, getDefaultName, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, resolveRawParameterValues, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setLazyStartProducer, setProperties, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURIbuild, 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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic org.apache.velocity.app.VelocityEngine getVelocityEngine()
public void setVelocityEngine(org.apache.velocity.app.VelocityEngine velocityEngine)
VelocityEngine otherwise a new engine is createdpublic boolean isAllowTemplateFromHeader()
public void setAllowTemplateFromHeader(boolean allowTemplateFromHeader)
public boolean isAllowContextMapAll()
public void setAllowContextMapAll(boolean allowContextMapAll)
Apache Camel