...
Option | Type | Description |
---|---|---|
config | CSVConfig | Can be used to set a custom |
strategy | CSVStrategy Camel | uses by default Can be used to set a custom |
autogenColumns | boolean | Is default true. By default, Whether or not columns are autogenerated auto-generated in the resulting CSV. Subsequent The default value is |
delimiter | String | Camel 2.4: Is default |
skipFirstLine | boolean | Camel 2.10: Is default false. While unmarshalling can be used Whether or not to skip the first line of a CSV input which contains the CSV headerswhen unmarshalling (e.g. if the content has headers on the first line); the default value is |
Marshalling a Map to CSV
...
You can customize the CSV Data Format to make use of your own CVSConfig CSVConfig
and/or CVSStrategy CSVStrategy
. Also note that the default value of the autogenColumns
option is true. The following example should illustrate this customization.
...