Class SpringAiRetryAutoConfiguration
java.lang.Object
org.springframework.ai.autoconfigure.retry.SpringAiRetryAutoConfiguration
@AutoConfiguration
@ConditionalOnClass(RetryUtils.class)
@EnableConfigurationProperties(SpringAiRetryProperties.class)
public class SpringAiRetryAutoConfiguration
extends Object
Auto-configuration
for AI Retry.- 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)
-