You can use camel-stream - http://camel.apache.org/stream.html



Reju Mathew wrote:
> 
> I need to move large files (around 800 MB) using camel route via Active
> MQ. 
>  
> The split method does not give any option to split on size. Besides when I
> use a route like
> from(“file:data”).split(..).to("jms:myq").to("file:dest")  - loads the
> entire file into memory and then tries to split (causing out of memory)?
> 
> Is there a better way?
> 
> Thanks,
> Reju
> 
> 

-- 
View this message in context: 
http://www.nabble.com/handling-large-files-tp25826380p25828828.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to