151장. Hystrix 구성 요소

Camel 버전 2.18로 사용 가능

hystrix 구성 요소는 Camel 경로에서 Netflix Hystrix 회로 차단기를 통합합니다.

자세한 내용은 Hystrix EIP 문서를 참조하십시오.

Maven 사용자는 이 구성 요소를 위해 다음 종속성을 pom.xml 에 추가해야 합니다.

<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-hystrix</artifactId>
    <version>x.x.x</version>
    <!-- use the same version as your Camel core version -->
</dependency>

151.1. Spring Boot Auto-Configuration

구성 요소는 아래 나열된 3 가지 옵션을 지원합니다.

이름설명기본값유형

camel.component.hystrix.mapping.enabled

hystrics 지표 서블릿의 자동 매핑을 Spring 웹 컨텍스트로 활성화합니다.

true

부울

camel.component.hystrix.mapping.path

가상 지표 서블릿을 위한 끝점입니다.

/hystrix.stream

문자열

camel.component.hystrix.mapping.servlet-name

Hystrix 지표 서블릿의 이름입니다.

HystrixEventStreamServlet

문자열