Apache Camel with Bindy
In this post I am going to demonstrate the power of Apache Camel Bindy DSL to marshal the files to various categories such as CSV, fixed file etc to a custom data object.
@CsvRecord(isOrdered = true)
public Class Order {
@DataField(pos = 1, position = 11)
private int orderNr;
@DataField(pos = 2, position = 10)
private String clientNr;
}