Interface LanguageEndpointBuilderFactory.LanguageBuilders
-
- All Known Subinterfaces:
EndpointBuilderFactory
- All Known Implementing Classes:
EndpointRouteBuilder
,EndpointRouteConfigurationBuilder
- Enclosing interface:
- LanguageEndpointBuilderFactory
public static interface LanguageEndpointBuilderFactory.LanguageBuilders
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default LanguageEndpointBuilderFactory.LanguageHeaderNameBuilder
language()
Language (camel-language) Execute scripts in any of the languages supported by Camel.default LanguageEndpointBuilderFactory.LanguageEndpointBuilder
language(String path)
Language (camel-language) Execute scripts in any of the languages supported by Camel.default LanguageEndpointBuilderFactory.LanguageEndpointBuilder
language(String componentName, String path)
Language (camel-language) Execute scripts in any of the languages supported by Camel.
-
-
-
Method Detail
-
language
default LanguageEndpointBuilderFactory.LanguageHeaderNameBuilder language()
Language (camel-language) Execute scripts in any of the languages supported by Camel. Category: core,script Since: 2.5 Maven coordinates: org.apache.camel:camel-language- Returns:
- the dsl builder for the headers' name.
-
language
default LanguageEndpointBuilderFactory.LanguageEndpointBuilder language(String path)
Language (camel-language) Execute scripts in any of the languages supported by Camel. Category: core,script Since: 2.5 Maven coordinates: org.apache.camel:camel-language Syntax:language:languageName:resourceUri
Path parameter: languageName (required) Sets the name of the language to use There are 22 enums and the value can be one of: bean, constant, csimple, datasonnet, exchangeProperty, file, groovy, header, hl7terser, joor, jq, jsonpath, mvel, ognl, ref, simple, spel, sql, tokenize, xpath, xquery, xtokenize Path parameter: resourceUri Path to the resource, or a reference to lookup a bean in the Registry to use as the resource- Parameters:
path
- languageName:resourceUri- Returns:
- the dsl builder
-
language
default LanguageEndpointBuilderFactory.LanguageEndpointBuilder language(String componentName, String path)
Language (camel-language) Execute scripts in any of the languages supported by Camel. Category: core,script Since: 2.5 Maven coordinates: org.apache.camel:camel-language Syntax:language:languageName:resourceUri
Path parameter: languageName (required) Sets the name of the language to use There are 22 enums and the value can be one of: bean, constant, csimple, datasonnet, exchangeProperty, file, groovy, header, hl7terser, joor, jq, jsonpath, mvel, ognl, ref, simple, spel, sql, tokenize, xpath, xquery, xtokenize Path parameter: resourceUri Path to the resource, or a reference to lookup a bean in the Registry to use as the resource- Parameters:
componentName
- to use a custom component name for the endpoint instead of the default namepath
- languageName:resourceUri- Returns:
- the dsl builder
-
-