THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
All message properties are converted to node properties, except for the org.apache.camel.component.jcr.node_name
(you can refer to JcrComponent.NODE_NAME
in your code), which is used to determine the node name.
Code example
The snippet below will create a node named node
under the /home/test
node in the content repository. One additional attribute will be added to the node as well: my.contents.property
will contain the body of the message being sent.
Wiki Markup |
---|
{snippet:id=jcr|lang=java|url=activemq/camel/trunk/components/camel-jcr/src/test/java/org/apache/camel/component/jcr/JcrRouteTest.java} |
Include Page | ||||
---|---|---|---|---|
|