Class ApplicationConfig

java.lang.Object
com.trendyol.jdempotent.redis.ApplicationConfig

@Configuration
@ConditionalOnProperty(value="jdempotent.enable",
                       havingValue="true",
                       matchIfMissing=true)
public class ApplicationConfig
extends Object
  • Constructor Details

  • Method Details

    • getIdempotentAspect

      @Bean @ConditionalOnProperty(value="jdempotent.enable", havingValue="true", matchIfMissing=true) @ConditionalOnClass(com.trendyol.jdempotent.core.callback.ErrorConditionalCallback.class) public com.trendyol.jdempotent.core.aspect.IdempotentAspect getIdempotentAspect​(org.springframework.data.redis.core.RedisTemplate redisTemplate, com.trendyol.jdempotent.core.callback.ErrorConditionalCallback errorConditionalCallback)
    • getIdempotentAspect

      @Bean public com.trendyol.jdempotent.core.aspect.IdempotentAspect getIdempotentAspect​(org.springframework.data.redis.core.RedisTemplate redisTemplate)