for( int i=0; i < 3; i++ ) {
CAS cas = uimaAsEngine.getCAS();
cas.setDocumentText("Some Text");
uimaAsEngine.sendCAS(cas); // will timeout after 5 secs
uimaAsEngine.collectionProcessingComplete(); // the CPC should not
// be sent to a service until the timeout occurs.
}
uimaAsEngine.stop();
}
public void testClientCRProcess() throws Exception {