public class VelocityComponent
extends org.apache.camel.impl.UriEndpointComponent
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 |
createComponentConfiguration, createParameterConfigurationMap, getEndpointClass, getParameterConfigurationMap, populateParameterConfigurationMap, setEndpointClass
afterConfiguration, createConfiguration, createEndpoint, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, preProcessUri, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
public 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