class EventsourcingConfigurationManagement {

    @VisibleForTesting
    Mono<CassandraMailQueueViewConfiguration> load() {
        return Mono.from(eventStore.getEventsOfAggregate(CONFIGURATION_AGGREGATE_ID))
            .map(history -> ConfigurationAggregate
                .load(CONFIGURATION_AGGREGATE_ID, history)
                .getCurrentConfiguration())
            .handle(publishIfPresent());
    }

    @Inject public  EventsourcingConfigurationManagement(EventStore eventStore);

}