Allow KieRuntimeBuilder to also create and provide StatelessKieSession #1492
Labels
area:engine
Related to the runtime engines
type:enhancement
Something that already exists needs to be improved
At the moment the
KieRuntimeBuilder
only allow to retrieveKieSession
s, but notStatelessKieSession
s. Even worse when a KieSession configured as stateless is required through the current API it creates a stateful one anyway, making things even more confused.Finally the impossibility of creating a
StatelessKieSession
fromKieRuntimeBuilder
is also the indirect cause of a memory leak with the Kogito integration as reported here.The text was updated successfully, but these errors were encountered: