THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- marshal = from
List<Map<String, Object>>
toOutputStream
(can be converted to String) - unmarshal = from
java.io.InputStream
(such as a File, String) to a List (java.util.List
as anorg.apache.camel.component.flatpack.DataSetList
) instance.
The result of the operation will contain all the data. If you need to process each row one by one you can split the exchange, using the splitter DSL Splitter.
Notice: The Flatpack library does currently not support header and trailers for the marshal operation.
Options
The DataFormat data format has the following options:
...
To use the data format simply instantiate an instance and invoke the marhsal or unmarshl unmarshal operation in the route builder:
...