[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to perform multiple Firebase queries in a Processor on a Camel route?


how can multiple queries to Firebase be performed in an Apache Camel Processor, so it waits for all the callbacks and posts the result on the route, which then continues?

I've looked at the implementation in

and tried to combine that with the setup described in

where the Runnable process uses CompletableFuture's .allOf to combine the asynchronous results from the Firebase API's callbacks, but the route always finishes before callback results come in.