You use define a customer IteratorFactory to return Iterators for
Splitter to use.

import static org.apache.camel.builder.ExpressionBuilder.beanExpression;
from("direct:streaming")
     .split(beanExpression(new MyCustomIteratorFactory(),  "iterator"))
     .streaming().to("activemq:my.parts")

Willem

On Wed, Jul 25, 2012 at 2:35 PM, sushil_vsk5 <[email protected]> wrote:
>
> Hello:
> Is it possible to use the camel splitter in a streaming mode to split a
> large binary file (for example an Mp4 file) into fixed sized chunks? Or does
> the file always have to be text based?
> Regards,
> Sushil
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Splitting-large-binary-file-into-chunks-tp5716434.html
> Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to