StorageRoutingAutoConfiguration
@AutoConfiguration(after = [EventSourcingAutoConfiguration::class, EventStoreAutoConfiguration::class, SnapshotAutoConfiguration::class, MongoEventSourcingAutoConfiguration::class, RedisEventSourcingAutoConfiguration::class, ElasticsearchEventSourcingAutoConfiguration::class, MockEventStoreAutoConfiguration::class, MockSnapshotAutoConfiguration::class, QueryAutoConfiguration::class] )
@EnableConfigurationProperties(value = [StorageRoutingProperties::class, EventStoreProperties::class, SnapshotProperties::class] )
Functions
Link copied to clipboard
fun routingEventStore(@Qualifier(value = "wow.CurrentBoundedContext") namedBoundedContext: NamedBoundedContext, eventStoreProperties: EventStoreProperties, snapshotProperties: SnapshotProperties, storageRoutingProperties: StorageRoutingProperties, eventStoreBindings: List<EventStoreBinding>, snapshotStoreBindings: List<SnapshotStoreBinding>, queryBackendProviders: List<QueryBackendProvider>): EventStore
Link copied to clipboard
fun routingEventStreamQueryBackendFactory(@Qualifier(value = "wow.CurrentBoundedContext") namedBoundedContext: NamedBoundedContext, eventStoreProperties: EventStoreProperties, snapshotProperties: SnapshotProperties, storageRoutingProperties: StorageRoutingProperties, eventStoreBindings: List<EventStoreBinding>, snapshotStoreBindings: List<SnapshotStoreBinding>, queryBackendProviders: List<QueryBackendProvider>): EventStreamQueryBackendFactory
Link copied to clipboard
fun routingSnapshotQueryBackendFactory(@Qualifier(value = "wow.CurrentBoundedContext") namedBoundedContext: NamedBoundedContext, eventStoreProperties: EventStoreProperties, snapshotProperties: SnapshotProperties, storageRoutingProperties: StorageRoutingProperties, eventStoreBindings: List<EventStoreBinding>, snapshotStoreBindings: List<SnapshotStoreBinding>, queryBackendProviders: List<QueryBackendProvider>): SnapshotQueryBackendFactory
Link copied to clipboard
fun routingSnapshotStore(@Qualifier(value = "wow.CurrentBoundedContext") namedBoundedContext: NamedBoundedContext, eventStoreProperties: EventStoreProperties, snapshotProperties: SnapshotProperties, storageRoutingProperties: StorageRoutingProperties, eventStoreBindings: List<EventStoreBinding>, snapshotStoreBindings: List<SnapshotStoreBinding>, queryBackendProviders: List<QueryBackendProvider>): SnapshotStore
Link copied to clipboard
Rejects a default channel that names both a built-in storage and a binding, as a route does: the two exclude each other, and silently preferring one would hide a misconfiguration.