each execute creates a new stateful session. All the listers are added to that after
it's created, see newWorkingMemory:
https://github.com/droolsjbpm/drools/blob/master/drools-core/src/main/jav...
Mark
On 4 Jan 2013, at 16:20, Wolfgang Laun <wolfgang.laun(a)gmail.com> wrote:
On 04/01/2013, Michal Bali <michalbali(a)gmail.com> wrote:
> Hi Wolfgang,
>
> I am not calling dispose() as it is not possible to dispose a stateless
> session.
Which I didn't suggest you'd do.
> I've just noticed that it is called automatically by Drools
> internal code (when calling StatelessKnowledgeSession.execute(Iterable)
> method).
And I tried to point out its consequences and the lack of
clarification in the Drools docs whether this is the end of life for a
StatelessKnowledgeSession.
-W
>
> Thank you for responding.
> Best Regards,
> Michal
>
>
> On Wed, Dec 26, 2012 at 9:45 AM, Wolfgang Laun
> <wolfgang.laun(a)gmail.com>wrote:
>
>> tertium non datur
>
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users