Registry / utility / hystrix-javanica

hystrix-javanica

JSON →
library1.5.18javamavenunverified

Annotation-driven configuration for Netflix Hystrix, providing circuit breaker and fallback support via annotations.

<dependency> <groupId>com.netflix.hystrix</groupId> <artifactId>hystrix-javanica</artifactId> <version>1.5.18</version> </dependency>
INSTALL
IMPORT
SIG · HYSTRIX-JAVANICA
H
hystrix-javanica
utilityjavav1.5.18
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HystrixCommand
com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand

Wrap a method with Hystrix circuit breaker using @HystrixCommand.

import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand; public class MyService { @HystrixCommand(fallbackMethod = "fallback") public String riskyMethod() { // potentially failing operation return "success"; } public String fallback() { return "fallback"; } }
Debug
Known issues
gotchaHystrix is in maintenance mode; consider Resilience4j as a modern alternative.
fix
Migrate to Resilience4j for active development and support.
affects: <=1.5.18
Upgrade
Version history
1.5.18latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
hystrix-javanica — mvn dependency:get hystrix-javanica · libregistry