Hi,
There is a way for starting the MinaTaskServer at ExecutionServer startup? I
want to configure TaskServer out of the application and to have it always
"up".
I mean to replace this code from the application to some configuration in
execution server:
EntityManagerFactory emf =
Persistence.createEntityManagerFactory("org.drools.task");
TaskService taskService = new TaskService(emf,
SystemEventListenerFactory.getSystemEventListener());
TaskServiceSession taskSession = taskService.createSession();
taskSession.addUser(new User("Administrator"));
taskSession.addUser(new User("foo"));
taskSession.addUser(new User("foo1"));
MinaTaskServer server = new MinaTaskServer(taskService);
Thread thread = new Thread(server);
thread.start();
Any idea will be appreciated
Thanks!
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Start-TaskServer-in-E...
Sent from the Drools - User mailing list archive at
Nabble.com.