I found my problem: https://issues.apache.org/jira/browse/CAMEL-5172 So with 2.6.0, I didn't see exception but null.
I want to use the old behavior. So I implemented TypeConverter and custom genericFileToString with the old behavior. My converter return null but after org.apache.camel.component.file.genericFileToString is used. Is it possible to remove org.apache.camel.component.file.genericFileToString converter? -- View this message in context: http://camel.465427.n5.nabble.com/Java-heap-space-with-FILE-producer-and-larges-files-tp5749845p5749974.html Sent from the Camel - Users mailing list archive at Nabble.com.