I am not a camel expert but one thing you could try is to "route" the first two 
fields to one route and  the third field (which can contain multiple fields) 
into another  route as a string and then route the string again to another 
route which is merged with the first route.

-----Original Message-----
From: jalogar [mailto:[email protected]]
Sent: Wednesday, November 14, 2012 8:19 PM
To: [email protected]
Subject: Bindy and composed fields

Hi there,

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

"order1","[email protected]","(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-tp5722732.html
Sent from the Camel - Users mailing list archive at Nabble.com.
This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient(s), please reply to the sender and 
destroy all copies of the original message. Any unauthorized review, use, 
disclosure, dissemination, forwarding, printing or copying of this email, 
and/or any action taken in reliance on the contents of this e-mail is strictly 
prohibited and may be unlawful.

Reply via email to