IdempotentAutoConfiguration
@AutoConfiguration
@Configuration(proxyBeanMethods = false)
@ConditionalOnClass(value = [ProceedingJoinPoint::class] )
@ConditionalOnProperty(prefix = "idempotent", name = ["enabled"], havingValue = "true", matchIfMissing = true)
Auto-configures Redis-backed idempotent execution support.
Functions
Link copied to clipboard
fun idempotentAspect(properties: IdempotentProperties, keyResolver: IdempotentKeyResolver, idempotentLeaseManager: IdempotentLeaseManager, idempotentStore: IdempotentStore, jsonMapper: JsonMapper): IdempotentAspect
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Bean(destroyMethod = "shutdown")
@ConditionalOnMissingBean(name = ["idempotentLeaseExecutor"] )
Link copied to clipboard
@Bean
Link copied to clipboard
@Bean
@ConditionalOnBean(value = [StringRedisTemplate::class] )
@ConditionalOnProperty(prefix = "idempotent", name = ["store-type"], havingValue = "REDIS", matchIfMissing = true)
Link copied to clipboard
@Bean
@ConditionalOnBean(value = [JdbcTemplate::class] )
@ConditionalOnProperty(prefix = "idempotent", name = ["store-type"], havingValue = "JDBC")