Answers for "Implementing Fault tolerance with hystrix"

0

Implementing Fault tolerance with hystrix

@GetMapping("/fault-tolerance-example")
	@HystrixCommand(fallbackMethod="fallbackRetrieveConfguration")
	public LimitConfiguration retrieveConfiguration() {
		throw new RuntimeException("Not Available");
	}

	public LimitConfiguration fallbackRetrieveConfiguration() {
		return new LimitConfiguration(999, 9);
	}
Posted by: Guest on April-29-2021

Code answers related to "Implementing Fault tolerance with hystrix"

Browse Popular Code Answers by Language