Interface LanguageEndpointBuilderFactory.LanguageBuilders

All Known Subinterfaces:
EndpointBuilderFactory
All Known Implementing Classes:
EndpointRouteBuilder, EndpointRouteConfigurationBuilder
Enclosing interface:
LanguageEndpointBuilderFactory

public static interface LanguageEndpointBuilderFactory.LanguageBuilders
  • Method Details

    • 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

      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 This option can also be loaded from an existing file, by prefixing with file: or classpath: followed by the location of the file.
      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 This option can also be loaded from an existing file, by prefixing with file: or classpath: followed by the location of the file.
      Parameters:
      componentName - to use a custom component name for the endpoint instead of the default name
      path - languageName:resourceUri
      Returns:
      the dsl builder