Chapter 151. Hystrix Component
Available as of Camel version 2.18
The hystrix component integrates Netflix Hystrix circuit breaker in Camel routes.
For more details see the Hystrix EIP documentation.
Maven users will need to add the following dependency to their pom.xml
for this component:
151.1. Spring Boot Auto-Configuration Copy linkLink copied to clipboard!
The component supports 3 options, which are listed below.
Name | Description | Default | Type |
---|---|---|---|
camel.component.hystrix.mapping.enabled | Enables the automatic mapping of the hystrics metric servlet into the Spring web context. | true | Boolean |
camel.component.hystrix.mapping.path | Endpoint for hystrix metrics servlet. | /hystrix.stream | String |
camel.component.hystrix.mapping.servlet-name | Name of the Hystrix metrics servlet. | HystrixEventStreamServlet | String |