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



Reply via email to