for (int i = 0; i < nbMsgs; i++) {
InOnly me = client.createInOnlyExchange();
me.setService(new QName("http://test", "entryPoint"));
me.getInMessage().setContent(new StringSource(
"<test xmlns=\"http://test\"><echo/><world/><earth/></test>"));
client.sendSync(me);
}
((Receiver) getBean("trace1")).getMessageList().assertMessagesReceived(1 * nbMsgs);
((Receiver) getBean("trace2")).getMessageList().assertMessagesReceived(1 * nbMsgs);
((Receiver) getBean("trace3")).getMessageList().assertMessagesReceived(1 * nbMsgs);
((Receiver) getBean("trace4")).getMessageList().assertMessagesReceived(2 * nbMsgs);