Re: Error in camel-bindy

2013-07-17 Thread Jothi
As I understand from Claus's message is that it is not possible to specify the class name to the BindyCsvDataFormat as this feature seems not to be available with the camel version that I'm using! -- View this message in context: http://camel.465427.n5.nabble.com/Error-in-camel-bindy-tp5735580p

Re: Error in camel-bindy

2013-07-17 Thread rameshkumar.m
Hi Jothi,You can do like this.*.unmarshal(new BindyCsvDataFormat(de.test.model.MyModel.class);* -- View this message in context: http://camel.465427.n5.nabble.com/Error-in-camel-bindy-tp5735580p5735825.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Error in camel-bindy

2013-07-15 Thread Claus Ibsen
No On Mon, Jul 15, 2013 at 4:03 PM, Jothi wrote: > Is it possible with Camel 2.8.0 to provide the class name instead of the > package name to the unmarshall dsl? > > Can I instead of > .unmarshal(new BindyCsvDataFormat("de.test.model") > > do > .unmarshal(new BindyCsvDataFormat("de.test.model.MyM

Re: Error in camel-bindy

2013-07-15 Thread Jothi
Is it possible with Camel 2.8.0 to provide the class name instead of the package name to the unmarshall dsl? Can I instead of .unmarshal(new BindyCsvDataFormat("de.test.model") do .unmarshal(new BindyCsvDataFormat("de.test.model.MyModel") -- View this message in context: http://camel.465427.

Re: Error in camel-bindy

2013-07-14 Thread Christian Müller
What issue do you hit? You should define the dependency to 2.9.x in your pom and exclude duplicated dependencies to 2.8.x. Executing mvn dependency:tree is helpful. Best, Christian - Software Integration Specialist Apache Camel committer: https://camel.apache.org/team V.P. Apach

Re: Error in camel-bindy

2013-07-12 Thread Jothi
This is what I do to initialize the bindy component! DataFormat bindy = new BindyCsvDataFormat("com.test.mypackage.csvdata"); The package contains the classes that are annotated with the @CsvRecord annotation. The package also contains some other classes that do not have this annotation. But I gu

Re: Error in camel-bindy

2013-07-12 Thread Jothi
I tried using version 2.9.x, but that seems not to be feasible as all the other modules use 2.8.0 and I get dependency path initialization errors when it is trying to resolve the camel core libraries. Is there another way to get around this issue? Regards, Joe -- View this message in context:

Re: Error in camel-bindy

2013-07-12 Thread Jothi
I can now see that it is fixed in versions 2.8.2 and above. But this brings me another question. Even though I use Camel 2.8.0, can I use version 2.9.0 for the bindy component? -- View this message in context: http://camel.465427.n5.nabble.com/Error-in-camel-bindy-tp5735580p5735582.html Sent fr

Re: Error in camel-bindy

2013-07-12 Thread Jothi
After a bit of fiddling with it, I had to give up on the bindy component as it does not fit to what I have. My domain model consist of a parent class and a sub class where some of the fields are annotated in the parent class. But this leads to an error when used with the bindy component. So this do