Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: polished

...

  • marshal = from List<Map<String, Object>> to OutputStream (can be converted to String)
  • unmarshal = from java.io.InputStream (such as a File, String) to a List ( java.util.List as an org.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:

...