Auto-discovery from the libraries

Overview

Auto-discovery is an automated process that extracts Camel elements from the uploaded libraries and makes them directly available to the context without requiring any connector.

Component discovery

When a component (such as ftp or quartz) is used, the context searches for:

  1. An Axway Decision Insight internal component (tnd-absorptiontnd-query and tnd-event)
  2. A connector with the given name that implements org.apache.camel.Component
  3. A component that is declared with the given name in the data integration Libraries
  4. A component with the given name provided by the product such as directstring-template or jdbc

Data format discovery

When a data format (such as csv or zip) is used, the context searches:

  1. A connector with the given name that implements org.apache.camel.spi.DataFormat
  2. A data format with the given name in the libraries
  3. A data format with the given name provided by the product such as zip

Language discovery

When a language (such as simplegroovy or xpath) is used, the context searches:

  1. A language with the given name in the libraries
  2. A language provided by one of the language resolvers of the libraries
  3. A language with the given name provided by the product such as simplexpath or groovy

Type converter discovery

A type converter is used by camel for various type conversion (such as String to int or InputStream to String).

When a routing context starts it loads:

  1. The default type converters provided by Camel
  2. The custom type converters provided by the product that handles ReadableInstantReadableDuration, ...
  3. The type converters provided by the libraries


Related Links