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;
}