blob: bde1c2e3aca4adbb539bf0e3efb69eabc0ce493d [file] [log] [blame]
// spring-boot-auto-configure options: START
:page-partial:
:doctitle: Camel Spring Boot Starter for avro
== Spring Boot Auto-Configuration
When using avro 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-avro-starter</artifactId>
<version>x.x.x</version>
<!-- use the same version as your Camel core version -->
</dependency>
----
The component supports 2 options, which are listed below.
[width="100%",cols="2,5,^1,2",options="header"]
|===
| Name | Description | Default | Type
| *camel.dataformat.avro.enabled* | Whether to enable auto configuration of the avro data format. This is enabled by default. | | Boolean
| *camel.dataformat.avro.instance-class-name* | Class name to use for marshal and unmarshalling | | String
|===
// spring-boot-auto-configure options: END