You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2021/01/15 11:21:43 UTC

[camel-spring-boot-examples] branch camel-3.7.x updated: CAMEL-16011: Fixed example thanks to Matthias Streidel for reporting.

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

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


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

commit 3da0cd33804286204d40801122b414c752bf506c
Author: Claus Ibsen <cl...@gmail.com>
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");
-    }
-
 }