This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot-examples.git


The following commit(s) were added to refs/heads/master by this push:
     new e5eaf9f  CAMEL-16011: Fixed example thanks to Matthias Streidel for 
reporting.
e5eaf9f is described below

commit e5eaf9fffe6141e21bdb48e792057d7c62ed6d3b
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Jan 15 12:20:53 2021 +0100

    CAMEL-16011: Fixed example thanks to Matthias Streidel for reporting.
---
 camel-example-spring-boot-hystrix/README.adoc                        | 2 +-
 .../client/src/main/java/sample/camel/ClientApplication.java         | 5 -----
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/camel-example-spring-boot-hystrix/README.adoc 
b/camel-example-spring-boot-hystrix/README.adoc
index c346e61..255de39 100644
--- a/camel-example-spring-boot-hystrix/README.adoc
+++ b/camel-example-spring-boot-hystrix/README.adoc
@@ -71,7 +71,7 @@ console: https://github.com/Netflix/Hystrix/wiki/Dashboard
 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:
+The stream is accessible 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. In the
 screen shot below, we have just stopped service1, so the Hystrix EIP
diff --git 
a/camel-example-spring-boot-hystrix/client/src/main/java/sample/camel/ClientApplication.java
 
b/camel-example-spring-boot-hystrix/client/src/main/java/sample/camel/ClientApplication.java
index f864ae0..3001331 100644
--- 
a/camel-example-spring-boot-hystrix/client/src/main/java/sample/camel/ClientApplication.java
+++ 
b/camel-example-spring-boot-hystrix/client/src/main/java/sample/camel/ClientApplication.java
@@ -40,9 +40,4 @@ public class ClientApplication {
         return new HystrixEventStreamServlet();
     }
 
-    @Bean
-    public ServletRegistrationBean servletRegistrationBean() {
-        return new ServletRegistrationBean(new HystrixEventStreamServlet(), 
"/hystrix.stream");
-    }
-
 }

Reply via email to