Sorry it was the ftp endpoint i meant On Monday, July 16, 2012, vishal1981 wrote:
> Thanks for the reply. > So is it compulsory to use a JMS Endpoint to prevent Camel from reading the > whole message in memory? > What is to my bean I dont pass the message body as a parameter but just > then > filename? Will that prevent Camel from loading the whole message in memory > before calling my bean method? > i.e. from(ftp.....).to(bean(MyBean.class, > "doSomething(${header.CamelFileName})") > (am using Camel 2.9) > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Preventing-reading-of-a-large-XML-file-in-memory-tp5716064p5716083.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, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen