camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/6] camel git commit: CAMEL-9679: Support for Hessian serialization - add docs
Date Tue, 08 Mar 2016 16:59:15 GMT
Repository: camel
Updated Branches:
  refs/heads/master ef4cc80b8 -> 7a912ec1d


CAMEL-9679: Support for Hessian serialization - add docs


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

Branch: refs/heads/master
Commit: 37eb29472a77db079a58f12f136277c08793dbff
Parents: 7d1986f
Author: Jaroslaw Strzelecki <jstrzelecki@pgs-soft.com>
Authored: Tue Mar 8 14:45:46 2016 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Tue Mar 8 17:42:00 2016 +0100

----------------------------------------------------------------------
 .../camel-snakeyaml/src/main/docs/hessian.adoc  | 42 ++++++++++++++++++++
 1 file changed, 42 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/37eb2947/components/camel-snakeyaml/src/main/docs/hessian.adoc
----------------------------------------------------------------------
diff --git a/components/camel-snakeyaml/src/main/docs/hessian.adoc b/components/camel-snakeyaml/src/main/docs/hessian.adoc
new file mode 100644
index 0000000..72997b7
--- /dev/null
+++ b/components/camel-snakeyaml/src/main/docs/hessian.adoc
@@ -0,0 +1,42 @@
+[[hessian-HessianDataFormat]]
+Hessian DataFormat
+~~~~~~~~~~~~~~~~~~
+
+Hessian is Data Format for marshalling and unmarshalling messages using Caucho's Hessian
format.
+
+If you want to use Hessian Data Format from Maven, add the following dependency to your `pom.xml`:
+
+[source,xml]
+------------------------------------------------------------
+<dependency>
+    <groupId>org.apache.camel</groupId>
+    <artifactId>camel-hessian</artifactId>
+    <version>x.x.x</version>
+    <!-- use the same version as your Camel core version -->
+</dependency>
+------------------------------------------------------------
+
+
+[[hessian-UsingHessianDataFormat]]
+Using the Hessian data format in Java DSL
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+[source,java]
+--------------------------------------------------------------------------------
+    from("direct:in")
+        .marshal().hessian();
+--------------------------------------------------------------------------------
+
+[[hessian-UsingHessianDataFormatXml]]
+Using the Hessian data format in Spring DSL
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+[source,xml]
+--------------------------------------------------------------------------------
+    <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
+        <route>
+            <from uri="direct:in"/>
+            <marshal ref="hessian"/>
+        </route>
+    </camelContext>
+--------------------------------------------------------------------------------


Mime
View raw message