[ https://issues.apache.org/activemq/browse/CAMEL-2999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60957#action_60957 ]
Claus Ibsen commented on CAMEL-2999: ------------------------------------ Wiki documentation || option || default || description | {{startingDirectoryMustExist}} | {{false}} | *Camel 2.5:* Whether the starting directory must exist. Mind that the {{autoCreate}} option is default enabled, which means the starting directory is normally auto created if it doesn't exist. You can disable {{autoCreate}} and enable this to ensure the starting directory must exist. Will thrown an exception if the directory doesn't exist. | | {{directoryMustExist}} | {{false}} | *Camel 2.5:* Similar to {{startingDirectoryMustExist}} but this applies during polling recursive sub directories. | > camel-file - Add option directoryMustExist > ------------------------------------------ > > Key: CAMEL-2999 > URL: https://issues.apache.org/activemq/browse/CAMEL-2999 > Project: Apache Camel > Issue Type: Improvement > Components: camel-core > Affects Versions: 2.4.0 > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Priority: Minor > Fix For: 2.5.0 > > > Add option {{directoryMustExist}} to configure file consumer to fail if > starting directory doesn't exist. In case people don't like the > {{autoCreate}} option to auto create the starting directory. For example if > starting directory is to be owned by another user or something. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.