I want to write a camel route which will take input from multiple file destination and process them after aggregating. is it possible to take input from multiple files for a single route?
Taking input from multiple files to a camel route
434 Views Asked by Abhi At
1
There are 1 best solutions below
Related Questions in FILE
- Helpt with reading files
- Why can't I use the file pointer after the first read attempt fails?
- Can't read the file using std::wifstream C++
- How can the scanner reread the entire file after it has already executed hasNextLine once?
- What is 'Invalid Load Key, '\x00'
- php $_FILE variable undefined index
- Data loaded from the file is not returned in the correct order
- File splitting and encryption
- Optimizing an s5cmd command that uses awk to generate a text file
- segmentation fault while reading in text file ( c++ )
- File.OpenText is adding C:\ to the front which is an error
- UTF-8 issue with excel
- How to upload files to MediaWiki APIs in Rust?
- No such file or directory: '/tmp/tmp_ejr26m6.upload.mp3' in Django
- Problems accessing zip files on the react front end from express backend
Related Questions in APACHE-CAMEL
- How to mock a dynamic endpoint in Apache Camel Spring Boot
- Not able to access route elements in test when using a camel filter
- Apache Camel - Why is Rest OpenAPI appending basePath twice
- A NullPointerException occurs in setupCamelContext method after Camel upgrade from 2.X to 3.2
- Exception attempting to get original in message in apache camel
- Apache camel Quartz start immediatly after application startup and then every hour
- How to delay preMove for each file detected using SFTP?
- Upgrade to Camel 4 causing CXF soap call to fail with "Received RST_STREAM: Stream cancelled"
- Why is apache/camel deleting files after processing
- How to set map in Camel kafka option params
- Consume webClient Flux<DataBuffer> directly by apache camel route
- How can I use apache camel bindy to convert java pojo to fixed length string that has a list attribute?
- Dynamically creating camel file routes
- Is Apache Camel typically deployed as a single application?
- How to check for delimiter in netty tcp connection. And what's the use of delimiter
Related Questions in SPRING-CAMEL
- Not able to access route elements in test when using a camel filter
- Apache camel Quartz start immediatly after application startup and then every hour
- Cannot find method setHandleFault(java.lang.Boolean) in CamelContext in camel 3.x
- SAXParseException with Camel 4
- No value for key "javax.xml.ws.wsdl.service" on org.apache.cxf.binding.soap.SoapMessage with camel version 3.17.0 and cxf 3.5.5
- Saving Dead letter messages in file system/database
- Loading camel routes in camel context runtime from database
- How to set camel json Jackson options autoDiscoverObjectMapper
- Apache Camel route fails to commit transaction
- Autowiring Spring beans inside Camel routes defined through Spring XML
- Apache Camel from with dynamic folder
- Camel doesn't register beans automatically for a Spring Framework (not Spring Boot) annotation-defined application
- How to use <proxy> with Camel 4 and Spring?
- SpringBoot and Camel graceful shutdown
- Camel Context - The dependencies of some of the beans in the application context form a cycle:
Related Questions in CAMEL-FTP
- Camel Quarkus SFTP Idempotent Consumer "this.transactionTemplate is null" error
- Camel SFTP how to prevent processing the same file incase of multiple nodes?
- How to login to an Azure Blob Storage Sftp from Java?
- How to use transaction in apache camel route which involves SFTP and database
- Get a file from a directory dynamically in Apache Camel
- Camel FTP routing - two separate FTP filenames
- Parse CSV file using Apache Camel and log count of successful and failure rows
- consume all files in Apache Camel pollEnrich
- Apache Camel FTP integration
- Camel FTP Route calling another Route
- Apache Camel FTP File Name Non English Character Encoding Problem
- Camel MessageID are different route transformation flow
- replay failure messages whenever I want in any time
- Taking input from multiple files to a camel route
- How to handle exceptions and error in apache camel route
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Yes you can use poll-enrich to call consumer-endpoints like file to enrich the message. This works for many other consumer-endpoints as well like SFTP or message queues.
If you need to read same file multiple times it can get trickier as you'll likely have to set noop=true and possibly use something like dummy idempotent repository to get around camels default behavior.
Note that calling pollEnrich seems to clear headers / create new message so use exchange properties to persist data between pollEnrich calls.