I need to call the REST endpoints A, B and C at the same time and combine the received JSON from each into one JSON. All REST endpoints are on different servers.
My initial project calls 3 Callables that run through FutureTasks. Then I will do Future.get (1000ms) in each FutureTask until they return a value. So will you solve this problem?
source
share