0 Replies Latest reply on Apr 16, 2014 5:49 PM by Jan Stastny

    jBPM 6 CDI kmodule.xml persistence

    Jan Stastny Newbie

      Hello,

      I have troubles setting persistence with injected KieSession.

      I have a kmodule.xml, where kbase and ksession are defined, this is separate mvn project.

       

      Then I have another project with a service class where I inject session like this: @Inject KieSession ksession;

       

      My question is: Where should I configure persistence for the session?

       

      I know the approach with RuntimeManager served by producer method, but I wanted to separate kbase and ksession config from code.

       

      Is there any way to achieve this with kmodule.xml ?