Package com.developmentsprint.spring.breaker.interceptor

Examples of com.developmentsprint.spring.breaker.interceptor.BeanFactoryCircuitBreakerAttributeSourceAdvisor


    public static final String CIRCUIT_BREAKER_ADVISOR_BEAN_NAME = "com.developmentsprint.spring.breaker.config.internalCircuitBreakerAdvisor";

    @Bean(name = CIRCUIT_BREAKER_ADVISOR_BEAN_NAME)
    @Role(BeanDefinition.ROLE_INFRASTRUCTURE)
    public BeanFactoryCircuitBreakerAttributeSourceAdvisor circuitBreakerAdvisor() {
        BeanFactoryCircuitBreakerAttributeSourceAdvisor advisor = new BeanFactoryCircuitBreakerAttributeSourceAdvisor();
        advisor.setCircuitBreakerOperationSource(circuitBreakerOperationSource());
        advisor.setAdvice(circuitBreakerInterceptor());
        advisor.setOrder(this.enableCircuitBreakers.<Integer> getNumber("order"));
        return advisor;
    }
View Full Code Here

TOP

Related Classes of com.developmentsprint.spring.breaker.interceptor.BeanFactoryCircuitBreakerAttributeSourceAdvisor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.