...
The CSV Data Format uses Apache Commons CSV to handle CSV payloads (Comma Separated Values) such as those exported/imported by Excel.
Options
Option | Type | Description |
---|---|---|
config | CSVConfig | Can be used to set a custom CSVConfig object. |
strategy | CSVStrategy | Camel uses by default |
autogenColumn | boolean | Camel 1.6.1/2.0: Is default true. By default, columns are autogenerated in the resulting CSV. Subsequent messages use the previously created columns with new fields being added at the end of the line. |
Marshalling a Map to CSV
The component allows you to marshal a Java Map (or any other message type that can be converted in a Map) into a CSV payload.
...