I am trying to convert an CSV file to XML route look like BindyCsvDataFormat bindy = new BindyCsvDataFormat(UspsTrackRecord.class.getPackage().getName()); from(fromLocation) .unmarshal(bindy) .marshal() .xstream() .to(localDir);
but i get error: 12:48:08,965 ERROR [org.apache.camel.processor.DefaultErrorHandler] (Camel (camel-3) thread #2 - file://D:/data/backoffice-tracking/usps/) Failed delivery for (MessageId: ID-NOISA019PA-L1-54360-1366701454968-2-1 on ExchangeId: ID-NOISA019PA-L1-54360-1366701454968-2-2). Exhausted after delivery attempt: 1 caught: java.lang.IllegalArgumentException: The separator has not been defined in the annotation @CsvRecord or not instantiated during initModel. must be specified: java.lang.IllegalArgumentException: The separator has not been defined in the annotation @CsvRecord or not instantiated during initModel. must be specified data class is @XmlRootElement @XmlAccessorType(XmlAccessType.FIELD) @CsvRecord(separator = ",",crlf = "UNIX") public class UspsTrackRecord implements Serializable { @XmlAttribute @DataField(pos = 1) private String version; public String getPackageID() { return packageID; } public void setPackageID(String packageID) { this.packageID = packageID; } public String getVersion() { return version; } public void setVersion(String version) { this.version = version; } @XmlAttribute @DataField(pos = 2) private String packageID; } when I did debug bindy code i found that when it try to scan package for annotated class it goes to wrong path. Any suggestion what i am doing wrong? thanks in advance -- View this message in context: http://camel.465427.n5.nabble.com/Bindy-tp5731324.html Sent from the Camel - Users mailing list archive at Nabble.com.