camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: Is there a way to extend marshall method of CsvDataFormat class
Date Thu, 11 Dec 2008 14:35:29 GMT
2008/12/11 James Strachan <>:
> 2008/12/11 Ramon Buckland <>:
>>> Maybe we need some kinda endpoint that lets you set arbitrary nested
>>> properties on a bean? e.g. it could take a Map or List of Maps and
>>> make instances of a certain type - then set the properties on the bean
>>> using introspection? I guess its only gonna be useful for taking data
>>> from CSVs; but who knows maybe this could be useable for other
>>> scenarios, like taking arbitrary JSON or something?
>> Would/Could dozer be used for this purpose ? possible ..
>> I have only used dozer in simple situations (like for like beans) but I
>> suspect(only suspect) that dozer could do this ..
>> there are other bean mappers yes(?)
> Great point! We could do with Dozer integration!

I guess Dozer could plug nicely into the Type Conversion mechanism too

Has anyone ever seen Dozer take, say, a CSV (or List of Maps) and
create/configure beans?


Open Source Integration

View raw message