Interface FreemarkerEndpointBuilderFactory.FreemarkerBuilders
-
- All Known Subinterfaces:
EndpointBuilderFactory
- All Known Implementing Classes:
EndpointRouteBuilder
,EndpointRouteConfigurationBuilder
- Enclosing interface:
- FreemarkerEndpointBuilderFactory
public static interface FreemarkerEndpointBuilderFactory.FreemarkerBuilders
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default FreemarkerEndpointBuilderFactory.FreemarkerHeaderNameBuilder
freemarker()
Freemarker (camel-freemarker) Transform messages using FreeMarker templates.default FreemarkerEndpointBuilderFactory.FreemarkerEndpointBuilder
freemarker(String path)
Freemarker (camel-freemarker) Transform messages using FreeMarker templates.default FreemarkerEndpointBuilderFactory.FreemarkerEndpointBuilder
freemarker(String componentName, String path)
Freemarker (camel-freemarker) Transform messages using FreeMarker templates.
-
-
-
Method Detail
-
freemarker
default FreemarkerEndpointBuilderFactory.FreemarkerHeaderNameBuilder freemarker()
Freemarker (camel-freemarker) Transform messages using FreeMarker templates. Category: transformation Since: 2.10 Maven coordinates: org.apache.camel:camel-freemarker- Returns:
- the dsl builder for the headers' name.
-
freemarker
default FreemarkerEndpointBuilderFactory.FreemarkerEndpointBuilder freemarker(String path)
Freemarker (camel-freemarker) Transform messages using FreeMarker templates. Category: transformation Since: 2.10 Maven coordinates: org.apache.camel:camel-freemarker Syntax:freemarker:resourceUri
Path parameter: resourceUri (required) Path to the resource. You can prefix with: classpath, file, http, ref, or bean. classpath, file and http loads the resource using these protocols (classpath is default). ref will lookup the resource in the registry. bean will call a method on a bean to be used as the resource. For bean you can specify the method name after dot, eg bean:myBean.myMethod.- Parameters:
path
- resourceUri- Returns:
- the dsl builder
-
freemarker
default FreemarkerEndpointBuilderFactory.FreemarkerEndpointBuilder freemarker(String componentName, String path)
Freemarker (camel-freemarker) Transform messages using FreeMarker templates. Category: transformation Since: 2.10 Maven coordinates: org.apache.camel:camel-freemarker Syntax:freemarker:resourceUri
Path parameter: resourceUri (required) Path to the resource. You can prefix with: classpath, file, http, ref, or bean. classpath, file and http loads the resource using these protocols (classpath is default). ref will lookup the resource in the registry. bean will call a method on a bean to be used as the resource. For bean you can specify the method name after dot, eg bean:myBean.myMethod.- Parameters:
componentName
- to use a custom component name for the endpoint instead of the default namepath
- resourceUri- Returns:
- the dsl builder
-
-