camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-11250) File consumer - Allow to specify a header that has the file name to poll
Date Wed, 13 Dec 2017 08:33:00 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-11250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen resolved CAMEL-11250.
---------------------------------
    Resolution: Unresolved
      Assignee: Claus Ibsen

This is more complicated to implement in a good way, we are closing this ticket for now.

> File consumer - Allow to specify a header that has the file name to poll
> ------------------------------------------------------------------------
>
>                 Key: CAMEL-11250
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11250
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: Future
>
>
> See SO
> http://stackoverflow.com/questions/43849165/camel-pollenrich-generating-a-lot-of-timed-waiting-threads
> We can have a FILE_FILTER_NAME header that matches in the 
> org.apache.camel.component.file.GenericFileConsumer#isMatched(org.apache.camel.component.file.GenericFile<T>,
boolean, java.util.List<T>)
> so end users can set the header first and then do a pollEnrich with a static endpoint.
> The header can then use equalsIgnoreCase and reguar exp for matching, to make it easier
to match files.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message