mock.expectsNoDuplicates().body();
// now send a lot of messages
System.out.println("Sending ...");
for (int i = 0; i < SIZE; i++) {
InputReportIncident input = new InputReportIncident();
input.setIncidentId("" + i);
input.setIncidentDate("20091116");
input.setGivenName("Claus");
input.setFamilyName("Ibsen");
input.setSummary("Camel rocks");
input.setDetails("More bla");
input.setEmail("davsclaus@apache.org");
input.setPhone("55512345678");
// send our input to the Camel route
producer.sendBody("direct:start", input);
}
System.out.println("... Send done");