Skip to content

Tag: apache-camel

RouteBuilder with multiple routes

I am using a route builder in my Camel Context like this: I have implemented a RouteBuilder like this: Is it possible to implement more routes in the same route builder? Answer yes you can implement a lot of routes in the same route builder like this, I advise you to use routeId for identify the route in the …

Apache Camel: access Route after polling

I’m using Camel JPA endpoints to poll a database and copy the data to a second one. To not poll duplicates, I’m planning to save the highest ID of the copied data and only poll data with an ID higher than that one. To save a few database writes, I want to write back the highest ID after the curren…

copy file to multiple folders with Camel SFTP

I have a situation where I pull a file from a folder via a Camel SFTP route. There are 3 other Camel routes which need to process the same file which I am pulling… the other routes monitor the same SFTP server. Currently, we are thinking that we should make that file which I pull, available to the 3 oth…