Hi,

I'm testing hystrix along with camel routes (in JAVA DSL). So these routes
are essentially of the form:

[from(direct:a)
     .hystrix()
         .to("http4:localhost:8080/mock/success")
     .onFallBack()
          .process(ex -> ex.getOut().setBody("Hystrix fallback message"))
     .end()]

In this route, when fallback is triggered, I want to log the root cause
which triggered the fallback. Is there a way to do this?



--
View this message in context: 
http://camel.465427.n5.nabble.com/How-to-get-exception-which-caused-the-hystrix-fallback-tp5795574.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to