Camel Spring Boot

DataSonnet

To use DataSonnet scripts for message transformations

What’s inside

Please refer to the above links for usage and configuration details.

Maven coordinates

<dependency>
    <groupId>org.apache.camel.springboot</groupId>
    <artifactId>camel-datasonnet-starter</artifactId>
</dependency>

Spring Boot Auto-Configuration

The starter supports 4 options, which are listed below.

Name Description Default Type

camel.language.datasonnet.body-media-type

The media type of the message body, such as application/json.

String

camel.language.datasonnet.enabled

Whether to enable auto configuration of the datasonnet language. This is enabled by default.

Boolean

camel.language.datasonnet.output-media-type

The media type to use for the output result.

String

camel.language.datasonnet.source

Source to use, instead of message body. You can prefix with variable:, header:, or property: to specify kind of source. Otherwise, the source is assumed to be a variable. Use empty or null to use default source, which is the message body.

String