Netflix / Hystrix

Hystrix is a latency and fault tolerance library designed to isolate points of access to remote systems, services and 3rd party libraries, stop cascading failure and enable resilience in complex distributed systems where failure is inevitable.
23.98k stars 4.7k forks source link

Hystrix FallBack method/Circuit breaker not getting invoked/enabled when maven tomcat7 plugin is used(Without any spring-starters/main class). #1974

Closed arunsai271 closed 3 years ago

arunsai271 commented 4 years ago

Hi,

I'am working on a spring boot project which does not have any main class and spring-starter-* dependencies. Instead using org.apache.tomcat.maven tomcat7-maven-plugin for running the project. The fallback method never got invoked it might be an issue with the configuration. Please look into the attached files and give a resolution on how to configure hystrix circuit breaker to make it enabled.

pom.txt image1 image2 image3

arunsai271 commented 3 years ago

Used javanica config xml and it got worked. Hence closing the isssue.