//prepare Configurations for stream repositories
DefaultConfigurationBuilder streamConfiguration
= new DefaultConfigurationBuilder();
streamConfiguration.addProperty( "[@destinationURL]", filestore );
streamConfiguration.addProperty( "[@type]", "STREAM" );
streamConfiguration.addProperty( "[@model]", "SYNCHRONOUS" );
sr = (StreamRepository) store.select(streamConfiguration);
if (getLogger().isDebugEnabled()) {
getLogger().debug("Got filestore for JdbcMailRepository: " + filestore);