Hi Claus,
Well, the main purpose is to read a file block by block (for exemple, each
10 Mo) , for that i thought to use the splitter for split sub message, then
for other business process, i need to reload the file from the begining (not
really from the beginning but some date that has already be
The splitter will split the file and each of those splitted sub
messages do not have the entire content, but only that chunk of the
message. If you want to read the entire file again, then dont use the
splitter, but just do a from file -> to process, and you can access
the file using java.io.File /
When i m trying to get the cache it returns null
StreamCache cache = exchange.getIn().getBody(StreamCache.class);
Do you have an idea how i can retrieve the StreamCache ?
Thxs
--
View this message in context:
http://camel.465427.n5.nabble.com/Using-Stream-Cache-With-Apache-Camel-tp5774856p5