CompensationAutoConfiguration

@AutoConfiguration
@EnableConfigurationProperties(value = [CompensationProperties::class])
class CompensationAutoConfiguration

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@Bean
@ConditionalOnMissingBean(value = [FailureRecorder::class])
fun compensationFailureRecorder(commandGateway: CommandGateway): FailureRecorder

Records failed event processing as compensation events, unless the application provides its own recorder.

Link copied to clipboard
@Bean
fun eventCompensateSupporter(domainEventCompensator: DomainEventCompensator, stateEventCompensator: StateEventCompensator): EventCompensateSupporter