|
|
@ -18,7 +18,7 @@
|
|
|
|
package cn.hippo4j.springboot.starter.adapter.hystrix;
|
|
|
|
package cn.hippo4j.springboot.starter.adapter.hystrix;
|
|
|
|
|
|
|
|
|
|
|
|
import cn.hippo4j.adapter.base.ThreadPoolAdapterScheduler;
|
|
|
|
import cn.hippo4j.adapter.base.ThreadPoolAdapterScheduler;
|
|
|
|
import cn.hippo4j.adapter.base.ThreadPoolAdapterExtraAutoConfiguration;
|
|
|
|
import cn.hippo4j.adapter.base.ThreadPoolAdapterScheduleAutoConfiguration;
|
|
|
|
import cn.hippo4j.adapter.hystrix.HystrixThreadPoolAdapter;
|
|
|
|
import cn.hippo4j.adapter.hystrix.HystrixThreadPoolAdapter;
|
|
|
|
import cn.hippo4j.common.config.ApplicationContextHolder;
|
|
|
|
import cn.hippo4j.common.config.ApplicationContextHolder;
|
|
|
|
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
|
|
|
|
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
|
|
|
@ -33,7 +33,7 @@ import org.springframework.context.annotation.Configuration;
|
|
|
|
* @create: 2022-07-15
|
|
|
|
* @create: 2022-07-15
|
|
|
|
**/
|
|
|
|
**/
|
|
|
|
@Configuration(proxyBeanMethods = false)
|
|
|
|
@Configuration(proxyBeanMethods = false)
|
|
|
|
@AutoConfigureAfter(ThreadPoolAdapterExtraAutoConfiguration.class)
|
|
|
|
@AutoConfigureAfter(ThreadPoolAdapterScheduleAutoConfiguration.class)
|
|
|
|
public class HystrixAdapterAutoConfiguration {
|
|
|
|
public class HystrixAdapterAutoConfiguration {
|
|
|
|
|
|
|
|
|
|
|
|
@Bean
|
|
|
|
@Bean
|
|
|
|