List<Record> records = new ArrayList<Record>();
Date date = getDate(2004, 5, 2);
records.add(new Record(1, "Mike", -40.23f, date, RecordType.Savings, new Item[]{new Item(2, "iPhone3G"),
new Item(2, null)}, new String[][]{{"FavoriteColor", "Blue"}, {"Place", "Toronto"}}));
records.add(new Record(2, "Lillian", 30.10f, date, RecordType.Savings, new Item[]{new Item(1, "iPhone3G"),
new Item(1, "MacBookPro15")}, new String[][]{{"FavoriteColor", "Green"}, {"Place", "Toronto"}}));
records.add(new Record(3, "Heiko", 50.50f, date, RecordType.Checking, new Item[]{new Item(1, "iPhone3Gs"),
new Item(2, "MacBookPro13")}, new String[][]{{"FavoriteColor", "Orange"}, {"Place", "Germany"}}));
if (message.hasPart("Recs")) {
List<Record> recs = message.get(List.class, "Recs");