Class SpringAiRetryAutoConfiguration
java.lang.Object
org.springframework.ai.autoconfigure.retry.SpringAiRetryAutoConfiguration
@AutoConfiguration
@ConditionalOnClass(org.springframework.retry.support.RetryTemplate.class)
@EnableConfigurationProperties(SpringAiRetryProperties.class)
public class SpringAiRetryAutoConfiguration
extends Object
- Author:
- Christian Tzolov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.client.ResponseErrorHandler
responseErrorHandler
(SpringAiRetryProperties properties) org.springframework.retry.support.RetryTemplate
retryTemplate
(SpringAiRetryProperties properties)
-
Constructor Details
-
SpringAiRetryAutoConfiguration
public SpringAiRetryAutoConfiguration()
-
-
Method Details
-
retryTemplate
@Bean @ConditionalOnMissingBean public org.springframework.retry.support.RetryTemplate retryTemplate(SpringAiRetryProperties properties) -
responseErrorHandler
@Bean @ConditionalOnMissingBean public org.springframework.web.client.ResponseErrorHandler responseErrorHandler(SpringAiRetryProperties properties)
-