camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [6/7] camel git commit: CAMEL-9472: Add multi value to component docs
Date Mon, 04 Jan 2016 12:44:18 GMT
CAMEL-9472: Add multi value to component docs


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

Branch: refs/heads/camel-2.16.x
Commit: 6081591b8029245894ddb936de41f9a032d7a489
Parents: fc4bbc2
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Mon Jan 4 13:22:00 2016 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Mon Jan 4 13:43:27 2016 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/camel/component/jdbc/JdbcEndpoint.java  | 1 +
 .../main/java/org/apache/camel/component/jpa/JpaEndpoint.java    | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/6081591b/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/JdbcEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/JdbcEndpoint.java
b/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/JdbcEndpoint.java
index aedd920..ec979c0 100755
--- a/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/JdbcEndpoint.java
+++ b/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/JdbcEndpoint.java
@@ -46,6 +46,7 @@ public class JdbcEndpoint extends DefaultEndpoint {
     private boolean transacted;
     @UriParam(defaultValue = "true")
     private boolean resetAutoCommit = true;
+    @UriParam(prefix = "statement.", multiValue = true)
     private Map<String, Object> parameters;
     @UriParam(defaultValue = "true")
     private boolean useJDBC4ColumnNameAndLabelSemantics = true;

http://git-wip-us.apache.org/repos/asf/camel/blob/6081591b/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/JpaEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/JpaEndpoint.java
b/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/JpaEndpoint.java
index 655845e..64dd9836 100644
--- a/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/JpaEndpoint.java
+++ b/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/JpaEndpoint.java
@@ -49,7 +49,6 @@ public class JpaEndpoint extends ScheduledPollEndpoint {
     private EntityManagerFactory entityManagerFactory;
     private PlatformTransactionManager transactionManager;
     private Expression producerExpression;
-    private Map<String, Object> entityManagerProperties;
 
     @UriPath(description = "Entity class name") @Metadata(required = "true")
     private Class<?> entityType;
@@ -77,6 +76,9 @@ public class JpaEndpoint extends ScheduledPollEndpoint {
     @UriParam(label = "producer")
     private boolean remove;
 
+    @UriParam(label = "advanced", prefix = "emf.", multiValue = true)
+    private Map<String, Object> entityManagerProperties;
+
     public JpaEndpoint() {
     }
 


Mime
View raw message