protected MapContainer<MessageId, Message> getMapContainer(Object id, String containerName)
throws IOException {
Store store = getStore();
MapContainer<MessageId, Message> container = store.getMapContainer(id, containerName);
container.setKeyMarshaller(new MessageIdMarshaller());
container.setValueMarshaller(new MessageMarshaller(wireFormat));
container.load();
return container;
}