@Test
public void testInsert() throws Exception {
Person p = new Person("Alice", "spicy meals", 30);
List<Command> commands = new ArrayList<Command>();
commands.add(CommandFactory.newInsert(p, "tempPerson"));
BatchExecutionCommand command = CommandFactory.newBatchExecution(commands);
String xmlCommand = template.requestBody("direct:marshall", command, String.class);
String xml = template.requestBody("direct:test-session", xmlCommand, String.class);
ExecutionResults res = (ExecutionResults) template.requestBody("direct:unmarshall", xml);