activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoitx <>
Subject [Mule 1.4.4] FileConnector: how to stop large or binary files?
Date Wed, 14 May 2008 14:33:35 GMT

Hi All,

We are using the FileConnector mechanism to pick up files from a given

is there an easy way to STOP certain files from being picked up? Typically:
1/ binary files (yes or no)
2/ files where size > x bytes

We seemed to think that "binary" was a property of  the FileConnector but
that does not seem to work.

Looking at the FileConnector code, there is:
    public static final String PROPERTY_FILE_SIZE = "fileSize";

but it does not seem to be used at all.

	<connector name="file_connector"
			<property name="moveToDirectory" value="${submitted_dir}" /><!-- no
file:// prefix ! -->
			<property name="moveToPattern"
value="${ORIGINALNAME}.${DATE:yyyy-MM-dd_HH-mm-ss-SSS}" />
			<property name="binary" value="false" />
			<property name="autoDelete" value="false" />
			<property name="fileAge" value="${file_age_ms}" />

is there a solution "out-of-the-box" for Mule 1.4.4 ?

Many thanks


Thanks & Regards,


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message