MongoEventSourcingAutoConfiguration

@AutoConfiguration(after = [MongoReactiveAutoConfiguration::class])
@ConditionalOnClass(value = [MongoEventStore::class])
@EnableConfigurationProperties(value = [MongoProperties::class])
class MongoEventSourcingAutoConfiguration(mongoProperties: MongoProperties)

Constructors

Link copied to clipboard
constructor(mongoProperties: MongoProperties)

Functions

Link copied to clipboard
@Bean
@ConditionalOnProperty(value = ["wow.eventsourcing.store.storage"], matchIfMissing = true, havingValue = "mongo")
fun mongoEventStore(mongoClient: MongoClient, @Nullable dataMongoProperties: MongoProperties?): EventStore
Link copied to clipboard
@Bean
@ConditionalOnProperty(value = ["wow.eventsourcing.store.storage"], matchIfMissing = true, havingValue = "mongo")
fun mongoEventStreamQueryServiceFactory(mongoClient: MongoClient, @Nullable dataMongoProperties: MongoProperties?): EventStreamQueryServiceFactory
Link copied to clipboard
@Bean
@ConditionalOnBean(value = [MongoClient::class])
@ConditionalOnProperty(value = ["wow.prepare.storage"], matchIfMissing = true, havingValue = "mongo")
@ConditionalOnMissingBean
fun mongoPrepareKeyFactory(mongoClient: MongoClient, @Nullable dataMongoProperties: MongoProperties?): PrepareKeyFactory
Link copied to clipboard
@Bean
@ConditionalOnProperty(value = ["wow.eventsourcing.snapshot.storage"], matchIfMissing = true, havingValue = "mongo")
fun mongoSnapshotQueryServiceFactory(mongoClient: MongoClient, @Nullable dataMongoProperties: MongoProperties?): SnapshotQueryServiceFactory
Link copied to clipboard
@Bean
@ConditionalOnProperty(value = ["wow.eventsourcing.snapshot.storage"], matchIfMissing = true, havingValue = "mongo")
fun mongoSnapshotRepository(mongoClient: MongoClient, @Nullable dataMongoProperties: MongoProperties?): SnapshotRepository