CAMEL-10791: Regen docs

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

Branch: refs/heads/master
Commit: 8cd03292555eb019ecd2131af9792c0be4b16cb8
Parents: 09cf89c
Author: Claus Ibsen <davscl...@apache.org>
Authored: Tue Mar 14 18:34:28 2017 +0100
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Tue Mar 14 18:34:28 2017 +0100

----------------------------------------------------------------------
 .../src/main/docs/zipfile-dataformat.adoc              |  3 ++-
 .../springboot/ZipFileDataFormatConfiguration.java     | 13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/8cd03292/components/camel-zipfile/src/main/docs/zipfile-dataformat.adoc
----------------------------------------------------------------------
diff --git a/components/camel-zipfile/src/main/docs/zipfile-dataformat.adoc 
b/components/camel-zipfile/src/main/docs/zipfile-dataformat.adoc
index 9e1f22b..96806e6 100644
--- a/components/camel-zipfile/src/main/docs/zipfile-dataformat.adoc
+++ b/components/camel-zipfile/src/main/docs/zipfile-dataformat.adoc
@@ -17,7 +17,7 @@ aggregate multiple messages into a single Zip file.
 
 
 // dataformat options: START
-The Zip File dataformat supports 2 options which are listed below.
+The Zip File dataformat supports 3 options which are listed below.
 
 
 
@@ -25,6 +25,7 @@ The Zip File dataformat supports 2 options which are listed 
below.
 |=======================================================================
 | Name | Default | Java Type | Description
 | usingIterator | false | Boolean | If the zip file has more then one entry 
the setting this option to true allows to work with the splitter EIP to split 
the data using an iterator in a streaming mode.
+| allowEmptyDirectory | false | Boolean | If the zip file has more then one 
entry setting this option to true allows to get the iterator even if the 
directory is empty
 | contentTypeHeader | false | Boolean | Whether the data format should set the 
Content-Type header with the type from the data format if the data format is 
capable of doing so. For example application/xml for data formats marshalling 
to XML or application/json for data formats marshalling to JSon etc.
 |=======================================================================
 // dataformat options: END

http://git-wip-us.apache.org/repos/asf/camel/blob/8cd03292/platforms/spring-boot/components-starter/camel-zipfile-starter/src/main/java/org/apache/camel/dataformat/zipfile/springboot/ZipFileDataFormatConfiguration.java
----------------------------------------------------------------------
diff --git 
a/platforms/spring-boot/components-starter/camel-zipfile-starter/src/main/java/org/apache/camel/dataformat/zipfile/springboot/ZipFileDataFormatConfiguration.java
 
b/platforms/spring-boot/components-starter/camel-zipfile-starter/src/main/java/org/apache/camel/dataformat/zipfile/springboot/ZipFileDataFormatConfiguration.java
index f21f0ad..fa42d9e 100644
--- 
a/platforms/spring-boot/components-starter/camel-zipfile-starter/src/main/java/org/apache/camel/dataformat/zipfile/springboot/ZipFileDataFormatConfiguration.java
+++ 
b/platforms/spring-boot/components-starter/camel-zipfile-starter/src/main/java/org/apache/camel/dataformat/zipfile/springboot/ZipFileDataFormatConfiguration.java
@@ -33,6 +33,11 @@ public class ZipFileDataFormatConfiguration {
      */
     private Boolean usingIterator = false;
     /**
+     * If the zip file has more then one entry setting this option to true
+     * allows to get the iterator even if the directory is empty
+     */
+    private Boolean allowEmptyDirectory = false;
+    /**
      * Whether the data format should set the Content-Type header with the type
      * from the data format if the data format is capable of doing so. For
      * example application/xml for data formats marshalling to XML or
@@ -48,6 +53,14 @@ public class ZipFileDataFormatConfiguration {
         this.usingIterator = usingIterator;
     }
 
+    public Boolean getAllowEmptyDirectory() {
+        return allowEmptyDirectory;
+    }
+
+    public void setAllowEmptyDirectory(Boolean allowEmptyDirectory) {
+        this.allowEmptyDirectory = allowEmptyDirectory;
+    }
+
     public Boolean getContentTypeHeader() {
         return contentTypeHeader;
     }

Reply via email to