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

Claus Ibsen resolved CAMEL-22181.
---------------------------------
    Resolution: Fixed

> camel-file/ftp - PollEnrich should allow to eager limit in case you dont need 
> any kind of sorting
> -------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-22181
>                 URL: https://issues.apache.org/jira/browse/CAMEL-22181
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-file, camel-ftp
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.13.0
>
>
> We gather the list of files and then sort before returning the 1 result. If 
> sorting or filtering is not in use then we can optimize to just grab first 
> random file found.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to