Hi, I got a huge file I want to split into smaller chunks and send each
chunk as a new message using the splitter. The file contains Protobuf
objects so I cannot use any of the normal splitting methods, but I want
to use the streaming() method on the route. How do I create a splitter
that supports this?
I.e:
FileSplitter fs = new FileSplitter();
from("file://myfile")
.routeId(InjectFiles.class.getSimpleName())
.split().method(fs,
"splitMessage").streaming().stopOnException()
--
Regards / Med vennlig hilsen
Tarjei Huse
Mobil: 920 63 413