Chapter 152. 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:

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

152.1. Spring Boot Auto-Configuration

The component supports 3 options, which are listed below.

NameDescriptionDefaultType

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

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.