You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "Jason C." <sm...@gmail.com> on 2013/05/17 17:05:42 UTC

Bindy + OSGi (The separator has not been defined in the annotation...)

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.