camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem jiang <willem.ji...@gmail.com>
Subject Re: xStream Data Format
Date Thu, 16 Aug 2012 14:09:48 GMT
Hi, 

You can try to modify stream from the message body, and it will effect the result of my.xml.
 
-- 
Willem Jiang

FuseSource
Web: http://www.fusesource.com (http://www.fusesource.com/)
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English)
          http://jnn.javaeye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang 
Weibo: willemjiang





On Thursday, August 16, 2012 at 7:56 PM, Joe San wrote:

> Guys,
> 
> I have a route which is defined as below:
> 
> from("file://my.xml").marshal().xstream("UTF-8").bean(new
> ProcessorBean()).to("file://my.xml");
> 
> All I want to do is access the my.xml in my ProcessorBean. Where and how do
> I specify the Java object which will be filled with the values in the xml
> file?
> 
> Regards,
> Jothi




Mime
View raw message