byte[] xmlResp = (byte[]) template.requestBody( "direct:test-with-session",
xmlReq.toString() );
assertNotNull( xmlResp );
System.out.println( new String( xmlResp ) );
ExecutionResults resp = (ExecutionResults) getJaxbContext().createUnmarshaller().unmarshal( new ByteArrayInputStream( xmlResp ) );
assertNotNull( resp );
assertEquals( 3,
resp.getIdentifiers().size() );
assertNotNull( resp.getValue( "person1" ) );
assertNotNull( resp.getValue( "person2" ) );
assertNotNull( resp.getValue( "person3" ) );
assertNotNull( resp.getFactHandle( "person1" ) );
assertNotNull( resp.getFactHandle( "person2" ) );
assertNotNull( resp.getFactHandle( "person3" ) );
}