blob: 618b14321da69e2175e134c1c54d10da1b638c4e [file] [log] [blame]
// spring-boot-auto-configure options: START
:page-partial:
:doctitle: Camel Spring Boot Starter for zip-deflater
== Spring Boot Auto-Configuration
When using zip-deflater 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-zip-deflater-starter</artifactId>
<version>x.x.x</version>
<!-- use the same version as your Camel core version -->
</dependency>
----
The component supports 5 options, which are listed below.
[width="100%",cols="2,5,^1,2",options="header"]
|===
| Name | Description | Default | Type
| *camel.dataformat.gzipdeflater.content-type-header* | Whether the data format should set the Content-Type header with the type from the data format if the data format is capable of doing so. For example application/xml for data formats marshalling to XML, or application/json for data formats marshalling to JSON etc. | false | Boolean
| *camel.dataformat.gzipdeflater.enabled* | Whether to enable auto configuration of the gzipdeflater data format. This is enabled by default. | | Boolean
| *camel.dataformat.zipdeflater.compression-level* | To specify a specific compression between 0-9. -1 is default compression, 0 is no compression, and 9 is best compression. | -1 | Integer
| *camel.dataformat.zipdeflater.content-type-header* | Whether the data format should set the Content-Type header with the type from the data format if the data format is capable of doing so. For example application/xml for data formats marshalling to XML, or application/json for data formats marshalling to JSON etc. | false | Boolean
| *camel.dataformat.zipdeflater.enabled* | Whether to enable auto configuration of the zipdeflater data format. This is enabled by default. | | Boolean
|===
// spring-boot-auto-configure options: END