JBoss Community

Re: In memory TaskClient without Mina or JMS

created by Mauricio Salatino in jBPM - View the full discussion

Hi Murali,

That's it:

 

    EntityManagerFactory emf = Persistence.createEntityManagerFactory("org.jbpm.task");

        TaskService taskService = new TaskService(emf, SystemEventListenerFactory.getSystemEventListener());

        TaskServiceSession taskSession = taskService.createSession();

 

Greetings.

Reply to this message by going to Community

Start a new discussion in jBPM at Community