tree: ddcc2929bce08c243eaaca3342e5e170780be7c9 [path history] [tgz]
  1. src/
  2. case-configuration.yml
  3. case-versions.conf
  4. pom.xml
  5. README.md
dubbo-samples-spring-hystrix/README.md

dubbo spring hystrix sample

Start Provider

Run org.apache.dubbo.samples.annotation.AnnotationProvider

Start Consumer

Run org.apache.dubbo.samples.annotation.AnnotationConsumerBootstrap

Result

  1. Start provider
  2. Start consumer
  3. The provider print java.lang.RuntimeException: Exception to show hystrix enabled. The exception stack conatins hystrix command info.
  4. The consumer print result :hystrix fallback value, which means hystrix fallback configuration is effect.