Hi
The file consumer will store the file as a GenericFile which basically
is a pointer to java.io.File.
So you ought to be fine to use FileInputStream or InputStream as your
bean parameter. And even close it after use.
As its a bean parameter then Camel dont replace the existing message
body with
Hi Camel users
I have a route that consumes big XML files (100 to 300 MB), splits them into
chunks and processes the chunks.
from(pollingFileConsumer)
.routeId("bigFileConsumer")
// here I would like to make a very basic check if the file looks as
expected
.split().tokenizeXML("Xm