THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
This Hessian Data Format provides marshalling an unmarshialling using Hessian protocol developed by Caucho.
...
Info |
---|
Available since Camel 2.17 |
Using Hessian Data Format
Maven setup
Include following dependency in your pom.xml
file:
...
replacing x.y.z
with your version of Camel core.
Java DSL
Marshalling
from("direct:in")
.marshal().hessian();
Unmarshalling
from("direct:back")
.unmarshal().hessian();
Spring DSL
Marshalling
<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
<route>
<from uri="direct:in"/>
<marshal ref="hessian"/>
</route>
</camelContext>
Unmarshalling
<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
<route>
<from uri="direct:back"/>
<unmarshal ref="hessian"/>
</route>
</camelContext>
Dependencies
Hessian Data Format internally relies on Hessian library provided by Caucho
...