Hi,
Split eip supports tokenizing by a delimiter and grouping as below;
from("file:inbox")
.split().tokenize("\n", 1000).streaming()
.to("activemq:queue:order");
Is there a specific reason why we don't have such like.
from("file:inbox")
.split().tokenizeByByteSize(1024, 1000).streaming()
.to("activemq:queue:order");
where 1024 is a length of byte to read from input stream?
Cheers
Onder
--
View this message in context:
http://camel.465427.n5.nabble.com/split-by-byte-chunks-tp5801398.html
Sent from the Camel - Users mailing list archive at Nabble.com.