I'm still thinking on how to do that. Could be the only way is to expose
the working memory of the stateless session - although I'm reluctant to
do that for encapsulation purposes. No doubt users will just abuse it
and try and use the stateless session statefully.
Mark
Budyanto Himawan wrote:
Hi,
I'm using the 4.0 version of the rules engine. In the old version we
were able to enable auditing by doing this
WorkingMemory workingMemory = ruleBase.newWorkingMemory();
// create a new Working Memory Logger, that logs to file.
WorkingMemoryFileLogger logger = new WorkingMemoryFileLogger(workingMemory);
Now if I use a stateful session, I can still do this. StateFulSession
extends WorkingMemory. For StatelessSession, however, this is not
possible. It does not extend WorkingMemory. Is there anyway I can have
auditing for StatelessSession?
Appreciate your help.
Thanks
Budyanto
------------------------------------------------------------------------
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users