2008/12/11 James Strachan <[EMAIL PROTECTED]>: > 2008/12/11 Ramon Buckland <[EMAIL PROTECTED]>: >>> 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 http://activemq.apache.org/camel/type-converter.html Has anyone ever seen Dozer take, say, a CSV (or List of Maps) and create/configure beans? -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://fusesource.com/
