public class MustacheComponent
extends org.apache.camel.impl.UriEndpointComponent
MustacheEndpoint.
URI pattern: mustache://template_name.mustache
Supports parameters:
| Constructor and Description |
|---|
MustacheComponent() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters) |
com.github.mustachejava.MustacheFactory |
getMustacheFactory() |
void |
setMustacheFactory(com.github.mustachejava.MustacheFactory mustacheFactory)
To use a custom
MustacheFactory |
createComponentConfiguration, createParameterConfigurationMap, getEndpointClass, getParameterConfigurationMap, populateParameterConfigurationMap, setEndpointClassafterConfiguration, createConfiguration, createEndpoint, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, preProcessUri, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURIprotected org.apache.camel.Endpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
createEndpoint in class org.apache.camel.impl.DefaultComponentExceptionpublic com.github.mustachejava.MustacheFactory getMustacheFactory()
public void setMustacheFactory(com.github.mustachejava.MustacheFactory mustacheFactory)
MustacheFactoryApache Camel