camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [camel] branch master updated: camel-castor is deprecated and ensure the readme files show that too.
Date Fri, 20 Oct 2017 07:48:58 GMT
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new e96b04f  camel-castor is deprecated and ensure the readme files show that too.
e96b04f is described below

commit e96b04f6acf138ffe4927ed4f804580f024663b2
Author: Claus Ibsen <davsclaus@apache.org>
AuthorDate: Fri Oct 20 09:38:30 2017 +0200

    camel-castor is deprecated and ensure the readme files show that too.
---
 camel-core/readme.adoc                                                | 2 +-
 .../main/java/org/apache/camel/model/dataformat/CastorDataFormat.java | 1 +
 components/camel-castor/src/main/docs/castor-dataformat.adoc          | 4 ++--
 components/readme.adoc                                                | 4 ++--
 4 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/camel-core/readme.adoc b/camel-core/readme.adoc
index c88d6b7..5c6d3bd 100644
--- a/camel-core/readme.adoc
+++ b/camel-core/readme.adoc
@@ -103,7 +103,7 @@ Data Formats
 
 
 // dataformats: START
-Number of Data Formats: 4 in 39 JAR artifacts (2 deprecated)
+Number of Data Formats: 4 in 39 JAR artifacts (3 deprecated)
 
 [width="100%",cols="4,1,5",options="header"]
 |===
diff --git a/camel-core/src/main/java/org/apache/camel/model/dataformat/CastorDataFormat.java
b/camel-core/src/main/java/org/apache/camel/model/dataformat/CastorDataFormat.java
index 10f57dc..1e7b321 100644
--- a/camel-core/src/main/java/org/apache/camel/model/dataformat/CastorDataFormat.java
+++ b/camel-core/src/main/java/org/apache/camel/model/dataformat/CastorDataFormat.java
@@ -34,6 +34,7 @@ import org.apache.camel.spi.Metadata;
 @Metadata(firstVersion = "2.1.0", label = "dataformat,transformation,xml", title = "Castor")
 @XmlRootElement(name = "castor")
 @XmlAccessorType(XmlAccessType.FIELD)
+@Deprecated
 public class CastorDataFormat extends DataFormatDefinition {
     @XmlAttribute
     private String mappingFile;
diff --git a/components/camel-castor/src/main/docs/castor-dataformat.adoc b/components/camel-castor/src/main/docs/castor-dataformat.adoc
index 4558452..aaa64cc 100644
--- a/components/camel-castor/src/main/docs/castor-dataformat.adoc
+++ b/components/camel-castor/src/main/docs/castor-dataformat.adoc
@@ -1,4 +1,4 @@
-== Castor DataFormat
+== Castor DataFormat (deprecated)
 
 *Available as of Camel version 2.1*
 
@@ -137,4 +137,4 @@ link:download.html[the download page for the latest versions]).
   <artifactId>camel-castor</artifactId>
   <version>x.x.x</version>
 </dependency>
----------------------------------------
+---------------------------------------
\ No newline at end of file
diff --git a/components/readme.adoc b/components/readme.adoc
index 6e6222e..3a6a930 100644
--- a/components/readme.adoc
+++ b/components/readme.adoc
@@ -871,7 +871,7 @@ Data Formats
 ^^^^^^^^^^^^
 
 // dataformats: START
-Number of Data Formats: 48 in 39 JAR artifacts (2 deprecated)
+Number of Data Formats: 48 in 39 JAR artifacts (3 deprecated)
 
 [width="100%",cols="4,1,5",options="header"]
 |===
@@ -895,7 +895,7 @@ Number of Data Formats: 48 in 39 JAR artifacts (2 deprecated)
 
 | link:camel-boon/src/main/docs/boon-dataformat.adoc[Boon] (camel-boon) | 2.16 | Boon data
format is used for unmarshal a JSon payload to POJO or to marshal POJO back to JSon payload.
 
-| link:camel-castor/src/main/docs/castor-dataformat.adoc[Castor] (camel-castor) | 2.1 | Castor
data format is used for unmarshal a XML payload to POJO or to marshal POJO back to XML payload.
+| link:camel-castor/src/main/docs/castor-dataformat.adoc[Castor] (camel-castor) | 2.1 | *deprecated*
Castor data format is used for unmarshal a XML payload to POJO or to marshal POJO back to
XML payload.
 
 | link:camel-crypto/src/main/docs/crypto-dataformat.adoc[Crypto (Java Cryptographic Extension)]
(camel-crypto) | 2.3 | Crypto data format is used for encrypting and decrypting of messages
using Java Cryptographic Extension.
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@camel.apache.org" <commits@camel.apache.org>'].

Mime
View raw message