protected void loadConfiguration() throws Exception
{
// Try loading configuration from JCR first
ChromatticSession session = persister.getSession();
ProducerConfigurationMapping pcm = session.findByPath(ProducerConfigurationMapping.class, PRODUCER_CONFIGURATION_PATH);
// if we don't have a configuration persisted in JCR already, force a reload from XML and save the resulting configuration
if (pcm == null)
{
pcm = session.insert(ProducerConfigurationMapping.class, PRODUCER_CONFIGURATION_PATH);