public JcrProducer(JcrEndpoint jcrEndpoint) {
        super(jcrEndpoint);
    }
@Test
    public void testJcrProducer() throws Exception {
        Exchange exchange = createExchangeWithBody("<hello>world!</hello>");
        exchange.getIn().setHeader(JcrConstants.JCR_NODE_NAME, "node");
        exchange.getIn().setHeader("my.contents.property", exchange.getIn().getBody());
        Exchange out = template.send("direct:a", exchange);
        assertNotNull(out);
        String uuid = out.getMessage().getBody(String.class);
        Session session = openSession();
        try {
            Node node = session.getNodeByIdentifier(uuid);
            assertNotNull(node);
            assertEquals("/home/test/node", node.getPath());
            assertEquals("<hello>world!</hello>", node.getProperty("my.contents.property").getString());
        } finally {
            if (session != null && session.isLive()) {
                session.logout();
            }
        }
    }