This worked for me:
<service name="GreetingService" promote="GreetingService"> <file:binding.file xmlns:file="urn:switchyard-component-camel-file:config:1.0"> <file:directory>/tmp/inbox</file:directory> <file:consume> <file:initialDelay>10</file:initialDelay> <file:delay>10</file:delay> <file:delete>true</file:delete> <file:exclude>XXX-YYY_.*</file:exclude> </file:consume> </file:binding.file> </service>
Can you paste the config which is giving you trouble?
My stupid mistake. I have 2 baselines that I test against and I was testing against 7.1/switchyard 0.8 which doesn't support file:doneFileName. When I switched to eap6.1/switchyard 1.0 everything worked just fine.