String[] endpoints = new String[]{"direct:splitSynchronizedAggregation", "direct:splitUnsynchronizedAggregation"};
List<Future<File>> futures = new ArrayList<Future<File>>();
StopWatch stopWatch = new StopWatch(false);
for (int endpointIndex = 0; endpointIndex < endpoints.length; endpointIndex++) {
stopWatch.restart();
for (int requestIndex = 0; requestIndex < numberOfRequests; requestIndex++) {
futures.add(template.asyncRequestBody(
endpoints[endpointIndex], null, File.class));
}