// Success | |
@GetMapping("success/users") | |
@CircuitBreaker(name = USER_SERVICE) | |
public Mono<ResponseEntity> getUser(@PathVariable String id) throws Exception { | |
return Mono.just(ResponseEntity.ok(User.builder().id("1").name("Deepak").build())); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment