Search code examples
springapache-camel

Apache Camel Include And Exclude File Patterns


Hi I'm using Apache Camel & Spring for importing files. I need to include only .zip files but i want to exclude _ACK.zip files. Is there a way to achieve this?

this is as far as ive gotten &exclude=.*_ACK.zip&move=$simple{file:name.noext}_ACK.$simple{file:name.ext}

Thanks in advance


Solution

  • Keep the exclude option as it is and additonally add the include=*.zip option.