Otavio Rodolfo Piske created CAMEL-17059:
--------------------------------------------
Summary: camel-file: benchmark and optimize Camel file for large
data sets
Key: CAMEL-17059
URL: https://issues.apache.org/jira/browse/CAMEL-17059
Project: Camel
Issue Type: Improvement
Affects Versions: 3.12.0
Reporter: Otavio Rodolfo Piske
Fix For: 3.13.0
The file component is performance sensitive and we have some places in the File
component where the code could be optimized.
For example, it is creating a List<File> instance [1] that could result in
several thousands of objects. We could adjust it to avoid this to use native
arrays or an Object type to avoid the overhead.
1.
https://github.com/apache/camel/blob/22c7af563c067fc34c141da3de1338d7e37c3525/components/camel-file/src/main/java/org/apache/camel/component/file/FileConsumer.java#L99
1.
https://github.com/apache/camel/blob/22c7af563c067fc34c141da3de1338d7e37c3525/components/camel-file/src/main/java/org/apache/camel/component/file/FileConsumer.java#L99
--
This message was sent by Atlassian Jira
(v8.3.4#803005)