4 Replies Latest reply on Dec 17, 2014 11:48 AM by lauradp

    How to choose Runtime Strategy in KIE Workbench

    madmaz

      Hi,

      here (http://planet.jboss.org/post/jbpm_6_0_beta2_available) I found the following information:

       

      • RuntimeManager allows you to easily get access to a ksession and/or task service without needing to worry about how to create the session, where to find it, how to link it to the task service, etc.  There are predefined strategies for:
        • singleton : one singleton session is used to execute all requests
        • session per request : a new session is used for each request (and destroyed afterwards)
        • session per process instance : each process instance has its own session context, all commands for that process instance are automatically executed in that context

       

      But in the KIE Workbench I can't find how to configure that: in Authoring -> Project Explorer -> Project editor there are some stuff but I cannot understand what to change.

       

      On the other side, once I Build & Deploy, if I go under Deploy -> Deployments I cannot change the Runtime Strategy...

      I can only do a New Deployment Unit.

       

      I'd like to deploy my project using session per process instance.

       

      Thanks.

      Regards.