Repository: camel Updated Branches: refs/heads/master 79045c003 -> 25461f9d4
Polished Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/25461f9d Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/25461f9d Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/25461f9d Branch: refs/heads/master Commit: 25461f9d45f23e507dd283cab2748546a67783a7 Parents: 79045c0 Author: Claus Ibsen <davscl...@apache.org> Authored: Thu Apr 21 14:47:21 2016 +0200 Committer: Claus Ibsen <davscl...@apache.org> Committed: Thu Apr 21 14:48:07 2016 +0200 ---------------------------------------------------------------------- examples/camel-example-hystrix/README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/25461f9d/examples/camel-example-hystrix/README.md ---------------------------------------------------------------------- diff --git a/examples/camel-example-hystrix/README.md b/examples/camel-example-hystrix/README.md index 2f1c609..e85dcce 100644 --- a/examples/camel-example-hystrix/README.md +++ b/examples/camel-example-hystrix/README.md @@ -42,14 +42,15 @@ $ cd service2 $ mvn compile camel:run ``` -And then start the client that calls service1 every 10th seconds. +And then start the client that calls service1 every second. ```sh $ cd client $ mvn compile camel:run ``` -You can then stop service1 and see that the client should fallback to service2 in the Hystrix EIP circuit breaker. +You can then stop service1 and see that the client should fallback to call service2 in the Hystrix EIP circuit breaker. +And then start service 1 again and see the Hystrix EIP go back to normal. ### Hystrix web console @@ -60,7 +61,9 @@ You can find instructions at Hystrix how to build and run the web console: https For example using gradle, you can then access the web console locally at: `http://localhost:7979/hystrix-dashboard`. The stream is accessinble from the client at: `http://localhost:8080/hystrix.stream` which you can add as stream -to the web console and then you should see the circuit breakers. +to the web console and then you should see the circuit breakers. In the screen shot below, we have just stopped service1, so +the Hystrix EIP will execute the fallback via network, which is calling service2 instead. If you start service 1 again +then the Hystrix EIP should go back to green again. 