camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tnk <>
Subject camel-ftp and file size check
Date Mon, 02 May 2011 09:20:29 GMT

 regarding camel-ftp component (I am using ftps), is there any way to get
file size before consuming the file? The problem is, that I have to load the
whole file into memory and process it. Loading big files into memory would
cause out of memory exception, so I want to limit file size up to N
megabytes. If file is bigger, just log the error message.

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message