You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by London12345 <ma...@gmail.com> on 2012/10/01 10:58:56 UTC
Re: extract data from mutlipe csv file convert to xml
Thanks Christian .
I trired using @DataField(pos=1),however if there are 3 elements in the
row,Camel forcing to define all the fields like
@DataField(pos=1)
private String a;
@DataField(pos=2)
private String b;
@DataField(pos=3)
private String c;
If I miss one position then getting error message.
Thanks
--
View this message in context: http://camel.465427.n5.nabble.com/extract-data-from-mutlipe-csv-file-convert-to-xml-tp5720030p5720297.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: extract data from mutlipe csv file convert to xml
Posted by Christian Müller <ch...@gmail.com>.
Ok, feel free to open a JIRA at [1] to improve this.
[1] https://issues.apache.org/jira/browse/CAMEL
Best,
Christian
On Mon, Oct 1, 2012 at 10:58 AM, London12345 <ma...@gmail.com> wrote:
> Thanks Christian .
>
> I trired using @DataField(pos=1),however if there are 3 elements in the
> row,Camel forcing to define all the fields like
>
> @DataField(pos=1)
> private String a;
> @DataField(pos=2)
> private String b;
> @DataField(pos=3)
> private String c;
>
> If I miss one position then getting error message.
>
> Thanks
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/extract-data-from-mutlipe-csv-file-convert-to-xml-tp5720030p5720297.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
--