You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by he...@apache.org on 2014/12/12 13:00:33 UTC

camel git commit: [Spring Boot] Added properties meta-data generation.

Repository: camel
Updated Branches:
  refs/heads/master 094936976 -> f501bf969


[Spring Boot] Added properties meta-data generation.


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

Branch: refs/heads/master
Commit: f501bf96942fe6c8b1c09802cdc89b685b7bc86c
Parents: 0949369
Author: Henryk Konsek <he...@gmail.com>
Authored: Fri Dec 12 13:00:11 2014 +0100
Committer: Henryk Konsek <he...@gmail.com>
Committed: Fri Dec 12 13:00:27 2014 +0100

----------------------------------------------------------------------
 components/camel-spring-boot/pom.xml                        | 5 +++++
 .../camel/spring/boot/CamelConfigurationProperties.java     | 9 +++++++++
 parent/pom.xml                                              | 5 +++++
 3 files changed, 19 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/f501bf96/components/camel-spring-boot/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-spring-boot/pom.xml b/components/camel-spring-boot/pom.xml
index 69939d1..b4a5192 100644
--- a/components/camel-spring-boot/pom.xml
+++ b/components/camel-spring-boot/pom.xml
@@ -37,6 +37,11 @@
             <optional>true</optional>
         </dependency>
         <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-configuration-processor</artifactId>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
             <groupId>org.apache.camel</groupId>
             <artifactId>camel-spring</artifactId>
         </dependency>

http://git-wip-us.apache.org/repos/asf/camel/blob/f501bf96/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java b/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java
index b17199f..6992f19 100644
--- a/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java
+++ b/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java
@@ -21,10 +21,19 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
 @ConfigurationProperties(prefix = "camel.springboot")
 public class CamelConfigurationProperties {
 
+    /**
+     * Enable JMX support for the CamelContext.
+     */
     private boolean jmxEnabled = true;
 
+    /**
+     * Producer template endpoints cache size.
+     */
     private int producerTemplateCacheSize = 1000;
 
+    /**
+     * Consumer template endpoints cache size.
+     */
     private int consumerTemplateCacheSize = 1000;
 
     public boolean isJmxEnabled() {

http://git-wip-us.apache.org/repos/asf/camel/blob/f501bf96/parent/pom.xml
----------------------------------------------------------------------
diff --git a/parent/pom.xml b/parent/pom.xml
index c8305c7..e047785 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -1321,6 +1321,11 @@
       </dependency>
       <dependency>
         <groupId>org.springframework.boot</groupId>
+        <artifactId>spring-boot-configuration-processor</artifactId>
+        <version>${spring-boot-version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework.boot</groupId>
         <artifactId>spring-boot-starter-test</artifactId>
         <version>${spring-boot-version}</version>
       </dependency>