for (int i = 0; i < numMessages; i++)
{
ClientMessage message = consumer.receive(1000);
Assert.assertEquals(1, message.getIntProperty("a").intValue());
Assert.assertFalse(message.containsProperty("b"));
Assert.assertEquals(3, message.getIntProperty("c").intValue());
Assert.assertEquals(4, message.getIntProperty("d").intValue());
}