Bindy CSV

Marshal and unmarshal between POJOs and Comma separated values (CSV) format using Camel Bindy

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-bindy-starter</artifactId>
</dependency>

Spring Boot Auto-Configuration

The starter supports 21 options, which are listed below.

Name Description Default Type

camel.dataformat.bindy-csv.allow-empty-stream

Whether to allow empty streams in the unmarshal process. If true, no exception will be thrown when a body without records is provided.

false

Boolean

camel.dataformat.bindy-csv.class-type

Name of model class to use.

String

camel.dataformat.bindy-csv.default-value-string-as-null

To change the default value for string types to be null instead of an empty string.

false

Boolean

camel.dataformat.bindy-csv.enabled

Whether to enable auto configuration of the bindyCsv data format. This is enabled by default.

Boolean

camel.dataformat.bindy-csv.locale

To configure a default locale to use, such as us for united states. To use the JVM platform default locale then use the name default.

String

camel.dataformat.bindy-csv.type

Whether to use Csv, Fixed, or KeyValue.

String

camel.dataformat.bindy-csv.unwrap-single-instance

When unmarshalling should a single instance be unwrapped and returned instead of wrapped in a java.util.List.

true

Boolean

camel.dataformat.bindy-fixed.allow-empty-stream

Whether to allow empty streams in the unmarshal process. If true, no exception will be thrown when a body without records is provided.

false

Boolean

camel.dataformat.bindy-fixed.class-type

Name of model class to use.

String

camel.dataformat.bindy-fixed.default-value-string-as-null

To change the default value for string types to be null instead of an empty string.

false

Boolean

camel.dataformat.bindy-fixed.enabled

Whether to enable auto configuration of the bindyFixed data format. This is enabled by default.

Boolean

camel.dataformat.bindy-fixed.locale

To configure a default locale to use, such as us for united states. To use the JVM platform default locale then use the name default.

String

camel.dataformat.bindy-fixed.type

Whether to use Csv, Fixed, or KeyValue.

String

camel.dataformat.bindy-fixed.unwrap-single-instance

When unmarshalling should a single instance be unwrapped and returned instead of wrapped in a java.util.List.

true

Boolean

camel.dataformat.bindy-kvp.allow-empty-stream

Whether to allow empty streams in the unmarshal process. If true, no exception will be thrown when a body without records is provided.

false

Boolean

camel.dataformat.bindy-kvp.class-type

Name of model class to use.

String

camel.dataformat.bindy-kvp.default-value-string-as-null

To change the default value for string types to be null instead of an empty string.

false

Boolean

camel.dataformat.bindy-kvp.enabled

Whether to enable auto configuration of the bindyKvp data format. This is enabled by default.

Boolean

camel.dataformat.bindy-kvp.locale

To configure a default locale to use, such as us for united states. To use the JVM platform default locale then use the name default.

String

camel.dataformat.bindy-kvp.type

Whether to use Csv, Fixed, or KeyValue.

String

camel.dataformat.bindy-kvp.unwrap-single-instance

When unmarshalling should a single instance be unwrapped and returned instead of wrapped in a java.util.List.

true

Boolean