MockEndpoint mock = getMockEndpoint("mock:consumed-from-node");
mock.expectedMessageCount(1);
Exchange exchange = createExchangeWithBody(testPayload);
template.send("direct:roundtrip", exchange);
mock.await();
mock.assertIsSatisfied();
Message received = mock.getReceivedExchanges().get(0).getIn();
assertEquals("/node", ZooKeeperMessage.getPath(received));
assertNotNull(ZooKeeperMessage.getStatistics(received));