}
public void testMulticastParallel() throws Exception {
MockEndpoint mock = getMockEndpoint("mock:result");
mock.expectedMessageCount(20);
mock.whenAnyExchangeReceived(new Processor() {
public void process(Exchange exchange) throws Exception {
// they should all be AB even though A is slower than B
assertEquals("AB", exchange.getIn().getBody(String.class));
}
});