On Wed, Feb 22, 2023 at 3:22 AM Reto Peter <reto.pe...@advanceit.ch> wrote: > > Is there any chance I can access the Exchange inside the filter > (GenericFileFilter)? > Or how can I achieve to process only files with specific dynamic content
Your route has to access the message content, you can use the content filter. You can have a strategy to read only the first few lines to detect the content. https://camel.apache.org/components/3.20.x/eips/content-filter-eip.html -- Claudio Miranda clau...@claudius.com.br http://www.claudius.com.br