// use our own template that has a higher thread pool than default camel that uses 5
ProducerTemplate pt = new DefaultProducerTemplate(context, Executors.newFixedThreadPool(10));
List<Future> replies = new ArrayList<Future>(20);
for (int i = 0; i < 20; i++) {
Future<Object> out = pt.asyncRequestBody("seda:bar", "Message " + i);
replies.add(out);
}
assertMockEndpointsSatisfied();