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 testDeployAggregateService() throws Exception {
System.out.println("-------------- testDeployAggregateService -------------");
BaseUIMAAsynchronousEngine_impl eeUimaEngine = new BaseUIMAAsynchronousEngine_impl();