Repository: camel Updated Branches: refs/heads/camel-2.17.x 552d78acc -> 7a57b1dae
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/7a57b1da Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/7a57b1da Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/7a57b1da Branch: refs/heads/camel-2.17.x Commit: 7a57b1dae0477969c66c93ffd6f4989391d0a3f8 Parents: 552d78a 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:48:50 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/7a57b1da/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 6a0ae4a..0fe9fac 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", defaultValue = "1") + @UriParam(label = "producer", enums = "0,1,all", defaultValue = "1") private String requestRequiredAcks = "1"; //buffer.memory @UriParam(label = "producer", defaultValue = "33554432")