Should you maybe try on the Mule lists? 2008/5/14 Benoitx <[EMAIL PROTECTED]>: > > Hi All, > > We are using the FileConnector mechanism to pick up files from a given > directory. > > 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" > className="org.mule.providers.file.FileConnector"> > <properties> > <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}" /> > </properties> > </connector> > > is there a solution "out-of-the-box" for Mule 1.4.4 ? > > Many thanks > > Benoit > http://www.Appendium.com > > ----- > Thanks & Regards, > > Benoit > > http://www.Appendium.com http://objectlab.blogspot.com > > -- > View this message in context: > http://www.nabble.com/-Mule-1.4.4--FileConnector%3A-how-to-stop-large-or-binary-files--tp17232544s2354p17232544.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > >
-- James ------- http://macstrac.blogspot.com/ Open Source Integration http://open.iona.com