blob: 024e6c364ea91acc9e259e52f93579c2f56eed9c [file] [log] [blame]
// spring-boot-auto-configure options: START
:page-partial:
:doctitle: Camel Spring Boot Starter for datasonnet
== Spring Boot Auto-Configuration
When using datasonnet with Spring Boot make sure to use the following Maven dependency to have support for auto configuration:
[source,xml]
----
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-datasonnet-starter</artifactId>
<version>x.x.x</version>
<!-- use the same version as your Camel core version -->
</dependency>
----
The component supports 4 options, which are listed below.
[width="100%",cols="2,5,^1,2",options="header"]
|===
| Name | Description | Default | Type
| *camel.language.datasonnet.body-media-type* | The String representation of the message's body MediaType | | 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 String representation of the MediaType to output | | String
| *camel.language.datasonnet.trim* | Whether to trim the value to remove leading and trailing whitespaces and line breaks | true | Boolean
|===
// spring-boot-auto-configure options: END