Re: split by byte chunks

2017-05-31 Thread souciance
Hello, Although there is no such method you can just write it in a bean and refer to it in your splitter. I have done it when wanting to split based on some uncommon value. The below is taken directly from the documentation. from("direct:body") // here we use a POJO bean mySplitterBean to

Re: split by byte chunks

2017-05-31 Thread Claus Ibsen
Hi The reason is that there has not been a need for this .. yet. And we have not heard of good use cases for such a reason. You can build your own split expression to split in byte chunks and use that with the splitter. Just create something that returns an iterator. And your example also seems