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

dubbo spring boot hystrix sample

Start Provider

Run org.apache.dubbo.spring.boot.provider.ProviderApplication

Start Consumer

Run org.apache.dubbo.spring.boot.consumer.ConsumerApplication

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.