Or use XStream annotations on your types... http://xstream.codehaus.org/annotations-tutorial.html
2008/10/21 James Strachan <[EMAIL PROTECTED]>: > 2008/10/21 cmoulliard <[EMAIL PROTECTED]>: >> >> Hi, >> >> Is it possible during the Xstream marshalling to define alias attribute as >> this is possible in the Xstream package >> (http://xstream.codehaus.org/alias-tutorial.html) ? >> >> If the answer is yes, where can I find an example ? > > There's no example, but you can just instantiate the XStreamDataFormat > class and configure its XStream object to be whatever you like. > > XStreamDataFormat myformat = new XStreamDataFormat(); > myformat.setXStream(whatever); > > > from("...").marshal(myformat); > > > > -- > James > ------- > http://macstrac.blogspot.com/ > > Open Source Integration > http://fusesource.com/ > -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://fusesource.com/
