camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tide08 <sachin2...@yahoo.com>
Subject Re: handling large files
Date Fri, 09 Oct 2009 22:28:15 GMT

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.


Mime
View raw message