camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jalogar <jesu.alo...@gmail.com>
Subject Bindy and composed fields
Date Wed, 14 Nov 2012 15:00:53 GMT
Hi there,

I'm trying to unmarshal a csv that have composed fields. For instance, in
the following example

"order1","foo@email.com","(test1;45),(test2;89)"

The third attribute would represent a list of two items (but the size of the
list is not constant), each item having a name and a price. The @Link
annotation only works in one-to-one annotation, so it is not an option. The
@OneToMany annotation in csv only works for writting so is neither an
option.

The csv is written by non technical stuff, so a complex format is not an
option either.

Is it possible to manage this requirement?

Many thanks in advance
Jesús



--
View this message in context: http://camel.465427.n5.nabble.com/Bindy-and-composed-fields-tp5722734.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message