On Mon, Dec 6, 2010 at 3:16 PM, mikaelfj <mikae...@gmail.com> wrote:
>
> Hi,
>
> I'm in the process of transforming XML to FixedLength, by
>
> - using jaxb to unmarshal XML to Java
> - using ? to transform Jaxb classes to bindy-annotated classes
> - using bindy to marshal BindyFixedLengthDataFormat to fixed length records.
>
> I've been unable to locate a smart way of going from the Jaxb classes to the
> bindy-annotated classes.
> Is there a smart way of doing this or do I just need to write a processor
> that manually moves data from the Jaxb classes to the bindy-annotated
> classes?
>
> Regards
> Mikael

You can use both annotations on the same classes.

You can also look at Doozer which is a object -> object mapper.
http://camel.apache.org/dozer-type-conversion.html

> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/XML-to-FixedLength-tp3294072p3294072.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to