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
fun mongoEventStore(mongoClient: MongoClient, dataMongoProperties: MongoProperties?): MongoEventStore
Link copied to clipboard
fun mongoEventStoreBinding(@Qualifier(value = "mongoEventStore") eventStore: EventStore): EventStoreBinding
Link copied to clipboard
fun mongoEventStreamQueryServiceFactory(mongoClient: MongoClient, dataMongoProperties: MongoProperties?): MongoEventStreamQueryServiceFactory
Link copied to clipboard
@Bean
@ConditionalOnBean(value = [MongoClient::class])
@ConditionalOnProperty(value = ["wow.prepare.storage"], matchIfMissing = true, havingValue = "mongo")
@ConditionalOnMissingBean
fun mongoPrepareKeyFactory(mongoClient: MongoClient, dataMongoProperties: MongoProperties?): PrepareKeyFactory
Link copied to clipboard
fun mongoSnapshotQueryServiceFactory(mongoClient: MongoClient, dataMongoProperties: MongoProperties?): MongoSnapshotQueryServiceFactory
Link copied to clipboard
@Bean(name = ["mongoSnapshotStore", "mongoSnapshotRepository"])
fun mongoSnapshotStore(mongoClient: MongoClient, dataMongoProperties: MongoProperties?): MongoSnapshotStore
Link copied to clipboard
fun mongoSnapshotStoreBinding(@Qualifier(value = "mongoSnapshotStore") snapshotStore: SnapshotStore): SnapshotStoreBinding