3
0
Fork 0

[svn r329] WIP commit, added EE JCA support and updated for x4o and made speed improvement and job que per process.

This commit is contained in:
willemc 2008-04-21 01:48:21 +02:00
parent 520ba683db
commit 46f1863f05
35 changed files with 1734 additions and 105 deletions

View file

@ -66,7 +66,7 @@ public class SimpleFoeiTests extends TestCase {
Properties properties = new Properties();
properties.load(foeiProperties);
foeiProperties.close();
properties.put(FoeiConfigurator.ROOT_PATH,"/tmp");
//properties.put(FoeiConfigurator.ROOT_PATH,"/tmp");
foeiContextManager.createFoeiContext(properties);
test0 = foeiContextManager.getFoeiContext("TEST-0");
@ -126,7 +126,7 @@ public class SimpleFoeiTests extends TestCase {
proc.getFoeiContext().getEventExecutorManager().executeEvent(in.getOutputPort(EventPort.OUTPUT), new Date(), proc);
long endTime = System.currentTimeMillis();
System.out.println("Done sending in: "+(endTime-startTime)+" ms.");
Thread.sleep(50000); // todo: create destory context on end of event que
Thread.sleep(5000); // todo: create destory context on end of event que
System.out.println("End speedtest");
test0.getFoeiProcessManager().destroyFoeiProcess("testSpeed0");
}