{
try
{
final ChromatticSession session = persister.getSession();
ConsumersAndGroupsMapping mappings = session.findByPath(ConsumersAndGroupsMapping.class, ConsumersAndGroupsMapping.NODE_NAME);
final List<ConsumerMapping> consumerMappings = mappings.getConsumers();
List<Consumer> consumers = new ArrayList<Consumer>(consumerMappings.size());
for (ConsumerMapping consumerMapping : consumerMappings)
{
consumers.add(consumerMapping.toModel(newConsumerSPI(consumerMapping.getId(), consumerMapping.getName()), this));
}