camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason C." <smoo...@gmail.com>
Subject Bindy + OSGi (The separator has not been defined in the annotation...)
Date Fri, 17 May 2013 15:05:42 GMT
Hi there,

anyone got bitten by "The separator has not been defined in the annotation
@CsvRecord or not instantiated during initModel. must be specified" when
using Bindy with camel (@ 2.10.4)? I'm calling it from an OSGi-Bundle
(Equinox using the OsgiDefaultCamelContext).

from("file://" + CSV_IMPORT_DIRECTORY + "?fileName=0328IST.CSV&move=done")
.unmarshal()
.bindy(BindyType.Csv,com.test.Dummy.class).split(body())...

com.test.Dummy is annotated with:

@CsvRecord(separator=";",generateHeaderColumns=false,skipFirstLine=true)

Thanks in advance,
Jason



--
View this message in context: http://camel.465427.n5.nabble.com/Bindy-OSGi-The-separator-has-not-been-defined-in-the-annotation-tp5732768.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message