You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2017/01/02 09:28:29 UTC
[1/2] camel git commit: CAMEL-10667: Add tarFile to Java DSL
Repository: camel
Updated Branches:
refs/heads/camel-2.18.x 0b47ab94e -> ec33df5a7
refs/heads/master 2d5b5f17d -> 877a61fe1
CAMEL-10667: Add tarFile to Java DSL
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/877a61fe
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/877a61fe
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/877a61fe
Branch: refs/heads/master
Commit: 877a61fe1fbdadc52f4a2cf716a598c734777c81
Parents: 2d5b5f1
Author: Claus Ibsen <da...@apache.org>
Authored: Mon Jan 2 10:25:09 2017 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Mon Jan 2 10:28:00 2017 +0100
----------------------------------------------------------------------
.../org/apache/camel/builder/DataFormatClause.java | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/877a61fe/camel-core/src/main/java/org/apache/camel/builder/DataFormatClause.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/builder/DataFormatClause.java b/camel-core/src/main/java/org/apache/camel/builder/DataFormatClause.java
index cd89d05..25bea0f 100644
--- a/camel-core/src/main/java/org/apache/camel/builder/DataFormatClause.java
+++ b/camel-core/src/main/java/org/apache/camel/builder/DataFormatClause.java
@@ -51,6 +51,7 @@ import org.apache.camel.model.dataformat.SerializationDataFormat;
import org.apache.camel.model.dataformat.SoapJaxbDataFormat;
import org.apache.camel.model.dataformat.StringDataFormat;
import org.apache.camel.model.dataformat.SyslogDataFormat;
+import org.apache.camel.model.dataformat.TarFileDataFormat;
import org.apache.camel.model.dataformat.TidyMarkupDataFormat;
import org.apache.camel.model.dataformat.XMLBeansDataFormat;
import org.apache.camel.model.dataformat.XMLSecurityDataFormat;
@@ -1068,8 +1069,16 @@ public class DataFormatClause<T extends ProcessorDefinition<?>> {
XMLSecurityDataFormat xsdf = new XMLSecurityDataFormat(secureTag, namespaces, secureTagContents, recipientKeyAlias, xmlCipherAlgorithm,
keyCipherAlgorithm, keyOrTrustStoreParameters, keyPassword, digestAlgorithm);
return dataFormat(xsdf);
- }
-
+ }
+
+ /**
+ * Uses the Tar file data format
+ */
+ public T tarFile() {
+ TarFileDataFormat tfdf = new TarFileDataFormat();
+ return dataFormat(tfdf);
+ }
+
/**
* Uses the xmlBeans data format
*/
[2/2] camel git commit: CAMEL-10667: Add tarFile to Java DSL
Posted by da...@apache.org.
CAMEL-10667: Add tarFile to Java DSL
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/ec33df5a
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/ec33df5a
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/ec33df5a
Branch: refs/heads/camel-2.18.x
Commit: ec33df5a769d4499ab09f9a508fa1f5dc7193013
Parents: 0b47ab9
Author: Claus Ibsen <da...@apache.org>
Authored: Mon Jan 2 10:25:09 2017 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Mon Jan 2 10:28:19 2017 +0100
----------------------------------------------------------------------
.../org/apache/camel/builder/DataFormatClause.java | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/ec33df5a/camel-core/src/main/java/org/apache/camel/builder/DataFormatClause.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/builder/DataFormatClause.java b/camel-core/src/main/java/org/apache/camel/builder/DataFormatClause.java
index 9d48884..1aecbb2 100644
--- a/camel-core/src/main/java/org/apache/camel/builder/DataFormatClause.java
+++ b/camel-core/src/main/java/org/apache/camel/builder/DataFormatClause.java
@@ -51,6 +51,7 @@ import org.apache.camel.model.dataformat.SerializationDataFormat;
import org.apache.camel.model.dataformat.SoapJaxbDataFormat;
import org.apache.camel.model.dataformat.StringDataFormat;
import org.apache.camel.model.dataformat.SyslogDataFormat;
+import org.apache.camel.model.dataformat.TarFileDataFormat;
import org.apache.camel.model.dataformat.TidyMarkupDataFormat;
import org.apache.camel.model.dataformat.XMLBeansDataFormat;
import org.apache.camel.model.dataformat.XMLSecurityDataFormat;
@@ -1068,8 +1069,16 @@ public class DataFormatClause<T extends ProcessorDefinition<?>> {
XMLSecurityDataFormat xsdf = new XMLSecurityDataFormat(secureTag, namespaces, secureTagContents, recipientKeyAlias, xmlCipherAlgorithm,
keyCipherAlgorithm, keyOrTrustStoreParameters, keyPassword, digestAlgorithm);
return dataFormat(xsdf);
- }
-
+ }
+
+ /**
+ * Uses the Tar file data format
+ */
+ public T tarFile() {
+ TarFileDataFormat tfdf = new TarFileDataFormat();
+ return dataFormat(tfdf);
+ }
+
/**
* Uses the xmlBeans data format
*/