camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scisci <>
Subject camel bindy 2.14.1 and jboss-eap 6.3.3
Date Wed, 11 Mar 2015 10:14:06 GMT
I'm trying to use bindy on camel 2.14.1 with a WAR deploy on jboss-eap 6.3.3
this is my camel context:

 <camelContext xmlns="">
    	<propertyPlaceholder id="placeholder"
        <route id="file-to-jpa">
				<tokenize token="\n" />
					<bindy type="Csv" classType="it.demo.Rischio_Controparti.RiskNoDer_CSV"
				<log message="unmarshal ${body}"/>


and this is my bean where unmarshal the csv file

package it.demo.Rischio_Controparti;

import java.util.Date;

import org.apache.camel.dataformat.bindy.annotation.CsvRecord;
import org.apache.camel.dataformat.bindy.annotation.DataField;

public class RiskNoDer_CSV implements Serializable {
	private static final long serialVersionUID = -5848486668088244375L;

	@DataField(pos=1 , required=true)
	Integer codice_controparte;
	@DataField(pos=2 , required=true)
	String nome_controparte;
	@DataField(pos=3 , required=true)
	String tipo;
	@DataField(pos=4 , required=true, pattern="yyyyMMdd")
	Date data_valuta;


this is the error ...
java.lang.IllegalArgumentException: The separator has not been defined in
the annotation @CsvRecord or not instantiated during initModel.

Can someone help me please ?

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message