/**
* Sends a number of messages
*/
public void sendMessages(int count) throws MessagingException {
DeliveryChannel deliveryChannel = context.getDeliveryChannel();
MessageExchangeFactory factory = deliveryChannel.createExchangeFactory();
for (int i = 0; i < count; i++) {
InOnly exchange = factory.createInOnlyExchange();
NormalizedMessage message = exchange.createMessage();
exchange.setInMessage(message);
message.setProperty("id", new Integer(i));
message.setContent(new StringSource("<example id='" + i + "'/>"));