Repository: camel
Updated Branches:
  refs/heads/master 39a82b181 -> eb54d2b42


CAMEL-9978: Camel-Kafka: configuration type mismatch for parameter acks - Add 
enums field to UriParam


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

Branch: refs/heads/master
Commit: eb54d2b42ceb2edfdaf04d11550312fe0e0e7724
Parents: 39a82b1
Author: Andrea Cosentino <anco...@gmail.com>
Authored: Sun May 22 09:45:04 2016 +0200
Committer: Andrea Cosentino <anco...@gmail.com>
Committed: Sun May 22 09:45:04 2016 +0200

----------------------------------------------------------------------
 .../java/org/apache/camel/component/kafka/KafkaConfiguration.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/eb54d2b4/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaConfiguration.java
----------------------------------------------------------------------
diff --git 
a/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaConfiguration.java
 
b/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaConfiguration.java
index 9e3b39d..ad3bf24 100644
--- 
a/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaConfiguration.java
+++ 
b/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaConfiguration.java
@@ -119,7 +119,7 @@ public class KafkaConfiguration {
     @UriParam(label = "producer")
     private String keySerializerClass;
 
-    @UriParam(label = "producer", defaultValue = "1")
+    @UriParam(label = "producer", enums = "0,1,all", defaultValue = "1")
     private String requestRequiredAcks = "1";
     //buffer.memory
     @UriParam(label = "producer", defaultValue = "33554432")

Reply via email to