Creating multiple consumers/ threads in FTP consumer within single route
Issue
- I want to process files in my
SFTPusing multiple consumers/threads for faster processing. Currently files are consuming one by one in sequential mannner which takes lot of time. Also this behaviour causes problem where route gets stuck if redeliveryDelay is huge and hence other files are not processed due to redelivery of previous file is under process. - If i have 50 files in the
SFTPserver, I want 50 threads to be running simultaneously, read the files and process all the files simultaneously, one file in each thread.
Environment
- Red Hat JBoss Fuse Service Works
- 6.0.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
