StateAutoConfiguration

@AutoConfiguration
@EnableConfigurationProperties(value = [StateProperties::class])
class StateAutoConfiguration

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@Bean
@ConditionalOnProperty(value = ["wow.eventsourcing.state.bus.type"], havingValue = "in_memory")
fun inMemoryStateEventBus(): StateEventBus
Link copied to clipboard
@Bean
@ConditionalOnMissingBean(value = [LocalStateEventBus::class])
@ConditionalOnBean(value = [DistributedStateEventBus::class])
fun localStateEventBus(): LocalStateEventBus
Link copied to clipboard
Link copied to clipboard
@Bean
fun stateEventCompensator(stateAggregateFactory: StateAggregateFactory, eventStore: EventStore, stateEventBus: StateEventBus): StateEventCompensator