Package org.apache.camel.spi
Annotation Interface DataTypeTransformer
Annotation to configure a data type transformer with either specifying its name or from/to data types.
The annotation is used by specific classpath scanning data type loaders to automatically add the data types to a
registry.
-
Optional Element Summary
-
Element Details
-
name
String nameData type transformer name. Identifies the data type transformer. Should be unique in the Camel context. Can be a combination of scheme and name. Is used to detect/reference the transformer when specifying input/output data types on routes.- Returns:
- the data type transformer name.
- Default:
- ""
-
fromType
String fromTypeData type representing the input of the transformation. Also used to detect the transformer.- Returns:
- Default:
- ""
-
toType
String toTypeData type representing the result of the transformation. Also used to detect the transformer.- Returns:
- Default:
- ""
-