Hi Lorenzo,

As Apache Camel supports different DatFormat (
http://camel.apache.org/data-format.html) and specifically to handle XML :

Object/XML marshalling

   - Castor <http://camel.apache.org/castor.html>
   - JAXB <http://camel.apache.org/jaxb.html>
   - XmlBeans <http://camel.apache.org/xmlbeans.html>
   - XStream <http://camel.apache.org/xstream.html>
   - JiBX <http://camel.apache.org/jibx.html>

you can choose one of the strategy proposed. The response to your question
will of course depends on parameters like your knowledge, skills about XML
mapping, complexity of the XML structure as there are pros/cons regarding
to the different technologies.

Here is a good startting point to start to works with JAXB and/or Xtream (
http://blog.bdoughan.com/2010/10/how-does-jaxb-compare-to-xstream.html)

Regards,




On Fri, Aug 24, 2012 at 9:11 AM, lorenzo <[email protected]> wrote:

> Hello there,
>
> I've got a object which essentially is a hashmap representing the
> equivalent
> of a resultset for a DB.
> I would like to move that guy around, presumably under the form of an XML
> message.
> I am completely new to xstream, but it seems like this is the way to go for
> me.
> Any suggestions about how to proceed much appreciated.
>
> Kind Regards
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/marshal-object-make-of-a-hash-map-tp5717983.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Charles Moulliard
Apache Committer / Sr. Pr. Consultant at FuseSource.com
Twitter : @cmoulliard
Blog : http://cmoulliard.blogspot.com

Reply via email to