You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2016/06/30 09:40:42 UTC

[1/3] camel git commit: Added camel-gson docs to Gitbook

Repository: camel
Updated Branches:
  refs/heads/master a18826714 -> 67053cfc6


Added camel-gson docs to Gitbook


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

Branch: refs/heads/master
Commit: 04ba80a6dcb4ce8cf574497cc1d44bacc3315755
Parents: a188267
Author: Andrea Cosentino <an...@gmail.com>
Authored: Thu Jun 30 11:30:12 2016 +0200
Committer: Andrea Cosentino <an...@gmail.com>
Committed: Thu Jun 30 11:30:12 2016 +0200

----------------------------------------------------------------------
 components/camel-gson/src/main/docs/gson.adoc | 36 ++++++++++++++++++++++
 docs/user-manual/en/SUMMARY.md                |  1 +
 2 files changed, 37 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/04ba80a6/components/camel-gson/src/main/docs/gson.adoc
----------------------------------------------------------------------
diff --git a/components/camel-gson/src/main/docs/gson.adoc b/components/camel-gson/src/main/docs/gson.adoc
new file mode 100644
index 0000000..a0c942c
--- /dev/null
+++ b/components/camel-gson/src/main/docs/gson.adoc
@@ -0,0 +1,36 @@
+[[Gson-Gson]]
+Gson
+~~~~
+
+*Available as of Camel 2.18*
+
+Gson is a link:data-format.html[Data Format] which uses the
+https://github.com/google/gson[Gson Library]
+
+[source,java]
+-------------------------------
+from("activemq:My.Queue").
+  marshal().json(JsonLibrary.Gson).
+  to("mqseries:Another.Queue");
+-------------------------------
+
+[[Gson-Dependencies]]
+Dependencies
+^^^^^^^^^^^^
+
+To use Gson in your camel routes you need to add the dependency
+on *camel-johnzon* which implements this data format.
+
+If you use maven you could just add the following to your pom.xml,
+substituting the version number for the latest & greatest release (see
+link:download.html[the download page for the latest versions]).
+
+[source,xml]
+----------------------------------------------------------
+<dependency>
+  <groupId>org.apache.camel</groupId>
+  <artifactId>camel-gson</artifactId>
+  <version>x.x.x</version>
+  <!-- use the same version as your Camel core version -->
+</dependency>
+----------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/camel/blob/04ba80a6/docs/user-manual/en/SUMMARY.md
----------------------------------------------------------------------
diff --git a/docs/user-manual/en/SUMMARY.md b/docs/user-manual/en/SUMMARY.md
index 91d1fd1..5b34ecd 100644
--- a/docs/user-manual/en/SUMMARY.md
+++ b/docs/user-manual/en/SUMMARY.md
@@ -171,6 +171,7 @@
     * [Grape](grape.adoc)
     * [Groovy](groovy.adoc)
         * [Groovy DSL](groovy-dsl.adoc)
+    * [Gson](gson.adoc)
     * [Guava Eventbus](guava-eventbus.adoc)
     * [Guice](guice.adoc)
     * [Hawtdb](hawtdb.adoc)


[2/3] camel git commit: Added camel-jackson docs to Gitbook

Posted by ac...@apache.org.
Added camel-jackson docs to Gitbook


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

Branch: refs/heads/master
Commit: 98766d190795793c87bd4e82d27e0db9bb290f39
Parents: 04ba80a
Author: Andrea Cosentino <an...@gmail.com>
Authored: Thu Jun 30 11:39:40 2016 +0200
Committer: Andrea Cosentino <an...@gmail.com>
Committed: Thu Jun 30 11:39:40 2016 +0200

----------------------------------------------------------------------
 .../camel-jackson/src/main/docs/jackson.adoc    | 36 ++++++++++++++++++++
 docs/user-manual/en/SUMMARY.md                  |  1 +
 2 files changed, 37 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/98766d19/components/camel-jackson/src/main/docs/jackson.adoc
----------------------------------------------------------------------
diff --git a/components/camel-jackson/src/main/docs/jackson.adoc b/components/camel-jackson/src/main/docs/jackson.adoc
new file mode 100644
index 0000000..273623f
--- /dev/null
+++ b/components/camel-jackson/src/main/docs/jackson.adoc
@@ -0,0 +1,36 @@
+[[Jackson-Jackson]]
+Jackson
+~~~~~~~
+
+*Available as of Camel 2.18*
+
+Jackson is a link:data-format.html[Data Format] which uses the
+https://github.com/FasterXML/jackson-core[Jackson Library]
+
+[source,java]
+-------------------------------
+from("activemq:My.Queue").
+  marshal().json(JsonLibrary.Jackson).
+  to("mqseries:Another.Queue");
+-------------------------------
+
+[[Jackson-Dependencies]]
+Dependencies
+^^^^^^^^^^^^
+
+To use Jackson in your camel routes you need to add the dependency
+on *camel-jackson* which implements this data format.
+
+If you use maven you could just add the following to your pom.xml,
+substituting the version number for the latest & greatest release (see
+link:download.html[the download page for the latest versions]).
+
+[source,xml]
+----------------------------------------------------------
+<dependency>
+  <groupId>org.apache.camel</groupId>
+  <artifactId>camel-jackson</artifactId>
+  <version>x.x.x</version>
+  <!-- use the same version as your Camel core version -->
+</dependency>
+----------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/camel/blob/98766d19/docs/user-manual/en/SUMMARY.md
----------------------------------------------------------------------
diff --git a/docs/user-manual/en/SUMMARY.md b/docs/user-manual/en/SUMMARY.md
index 5b34ecd..d4a3366 100644
--- a/docs/user-manual/en/SUMMARY.md
+++ b/docs/user-manual/en/SUMMARY.md
@@ -188,6 +188,7 @@
     * [Infinispan](infinispan.adoc)
     * [IRC](irc.adoc)
     * [Ironmq](ironmq.adoc)
+    * [Jackson](jackson.adoc)
     * [Jasypt](jasypt.adoc)
     * [Javaspace](javaspace.adoc)
     * [JMS](jms.adoc)


[3/3] camel git commit: Fix typo in camel-gson docs

Posted by ac...@apache.org.
Fix typo in camel-gson docs


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

Branch: refs/heads/master
Commit: 67053cfc6c89b72f011e9acb7ba6801a9936b491
Parents: 98766d1
Author: Andrea Cosentino <an...@gmail.com>
Authored: Thu Jun 30 11:40:08 2016 +0200
Committer: Andrea Cosentino <an...@gmail.com>
Committed: Thu Jun 30 11:40:08 2016 +0200

----------------------------------------------------------------------
 components/camel-gson/src/main/docs/gson.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/67053cfc/components/camel-gson/src/main/docs/gson.adoc
----------------------------------------------------------------------
diff --git a/components/camel-gson/src/main/docs/gson.adoc b/components/camel-gson/src/main/docs/gson.adoc
index a0c942c..80db796 100644
--- a/components/camel-gson/src/main/docs/gson.adoc
+++ b/components/camel-gson/src/main/docs/gson.adoc
@@ -19,7 +19,7 @@ Dependencies
 ^^^^^^^^^^^^
 
 To use Gson in your camel routes you need to add the dependency
-on *camel-johnzon* which implements this data format.
+on *camel-gson* which implements this data format.
 
 If you use maven you could just add the following to your pom.xml,
 substituting the version number for the latest & greatest release (see