Repository: camel
Updated Branches:
  refs/heads/camel-2.17.x a0a4f6d54 -> 77273b9a3


CAMEL-9978: Camel-Kafka: configuration type mismatch for parameter acks. Add -1 
to the possible values in enum.


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

Branch: refs/heads/camel-2.17.x
Commit: 77273b9a3117339d6a092ef349741bb0a4c99c4f
Parents: a0a4f6d
Author: Andrea Cosentino <[email protected]>
Authored: Mon Jun 27 13:59:48 2016 +0200
Committer: Andrea Cosentino <[email protected]>
Committed: Mon Jun 27 14:04:01 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/77273b9a/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 0fe9fac..0cdf08e 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
@@ -117,7 +117,7 @@ public class KafkaConfiguration {
     @UriParam(label = "producer")
     private String keySerializerClass;
 
-    @UriParam(label = "producer", enums = "0,1,all", defaultValue = "1")
+    @UriParam(label = "producer", enums = "-1,0,1,all", defaultValue = "1")
     private String requestRequiredAcks = "1";
     //buffer.memory
     @UriParam(label = "producer", defaultValue = "33554432")

Reply via email to