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.