[ https://issues.apache.org/activemq/browse/CAMEL-2999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60932#action_60932 ]
Claus Ibsen commented on CAMEL-2999: ------------------------------------ We could have 2 options {{startingDirectoryMustExist}} for the staring folder {{directoryMustExist}} during polling, such as recursive folders If the dir doesn't exit then an exception is thrown so monitoring can detect this and react. > 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.