Sender sender = getSender();
sender.sendMessages(messageCount);
MessageList messageList = getReceivedMessageList();
messageList.assertMessagesReceived(messageCount);
// lets now look into the received messages
List list = messageList.getMessages();
NormalizedMessage message = (NormalizedMessage) list.get(0);
Object property = message.getProperty("foo");