JCRProducerConfigurationService producerConfigurationService;
try
{
producerConfigurationService = new JCRProducerConfigurationService(container);
producerConfigurationService.setDefaultConfigurationIS(configurationIS);
producerConfigurationService.reloadConfiguration();
}
catch (Exception e)
{
throw new RuntimeException("Couldn't load WSRP producer configuration from " + producerConfigLocation, e);
}