Repository: camel
Updated Branches:
  refs/heads/boot-generate f1402a7eb -> 94d96cd9d


Experiment with generating spring-boot auto configuration for the Camel 
components.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/94d96cd9
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/94d96cd9
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/94d96cd9

Branch: refs/heads/boot-generate
Commit: 94d96cd9d725425ef98765f5773773f0fe187ec3
Parents: f1402a7
Author: Claus Ibsen <davscl...@apache.org>
Authored: Wed Jun 8 13:03:23 2016 +0200
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Wed Jun 8 13:03:23 2016 +0200

----------------------------------------------------------------------
 examples/camel-example-spring-boot/pom.xml                     | 5 -----
 .../apache/camel/example/spring/boot/MySpringBootRouter.java   | 6 ------
 .../src/main/resources/application.yml                         | 4 ----
 3 files changed, 15 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/94d96cd9/examples/camel-example-spring-boot/pom.xml
----------------------------------------------------------------------
diff --git a/examples/camel-example-spring-boot/pom.xml 
b/examples/camel-example-spring-boot/pom.xml
index c15e023..9be898c 100755
--- a/examples/camel-example-spring-boot/pom.xml
+++ b/examples/camel-example-spring-boot/pom.xml
@@ -77,11 +77,6 @@
       <artifactId>camel-commands-spring-boot</artifactId>
     </dependency>
 
-    <dependency>
-      <groupId>org.apache.camel</groupId>
-      <artifactId>camel-ahc</artifactId>
-    </dependency>
-
     <!-- testing -->
     <dependency>
       <groupId>org.springframework.boot</groupId>

http://git-wip-us.apache.org/repos/asf/camel/blob/94d96cd9/examples/camel-example-spring-boot/src/main/java/org/apache/camel/example/spring/boot/MySpringBootRouter.java
----------------------------------------------------------------------
diff --git 
a/examples/camel-example-spring-boot/src/main/java/org/apache/camel/example/spring/boot/MySpringBootRouter.java
 
b/examples/camel-example-spring-boot/src/main/java/org/apache/camel/example/spring/boot/MySpringBootRouter.java
index 5c848b1..a581c07 100644
--- 
a/examples/camel-example-spring-boot/src/main/java/org/apache/camel/example/spring/boot/MySpringBootRouter.java
+++ 
b/examples/camel-example-spring-boot/src/main/java/org/apache/camel/example/spring/boot/MySpringBootRouter.java
@@ -16,7 +16,6 @@
  */
 package org.apache.camel.example.spring.boot;
 
-import org.apache.camel.component.ahc.AhcComponent;
 import org.apache.camel.spring.boot.FatJarRouter;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.boot.actuate.endpoint.HealthEndpoint;
@@ -29,13 +28,8 @@ public class MySpringBootRouter extends FatJarRouter {
     @Autowired
     private HealthEndpoint health;
 
-    @Autowired
-    private AhcComponent ahc;
-
     @Override
     public void configure() {
-        log.info("AhcComponent isAllowJavaSerializedObject = {}", 
ahc.isAllowJavaSerializedObject());
-
         from("timer:trigger")
                 .transform().simple("ref:myBean")
                 .to("log:out");

http://git-wip-us.apache.org/repos/asf/camel/blob/94d96cd9/examples/camel-example-spring-boot/src/main/resources/application.yml
----------------------------------------------------------------------
diff --git 
a/examples/camel-example-spring-boot/src/main/resources/application.yml 
b/examples/camel-example-spring-boot/src/main/resources/application.yml
index 9e9eea9..dc362f5 100644
--- a/examples/camel-example-spring-boot/src/main/resources/application.yml
+++ b/examples/camel-example-spring-boot/src/main/resources/application.yml
@@ -21,7 +21,3 @@ shell.auth.simple.user.password: password
 camel:
   springboot:
     allow-use-original-message: false
-  component:
-    ahc:
-      allow-java-serialized-object: true
-

Reply via email to