[jboss-user] [jBPM] - Re: persisted stateful sessions and knowledge base changes

Jordi Alvarez do-not-reply at jboss.com
Thu Sep 29 11:03:25 EDT 2011


Jordi Alvarez [http://community.jboss.org/people/jordi_alvarez] created the discussion

"Re: persisted stateful sessions and knowledge base changes"

To view the discussion, visit: http://community.jboss.org/message/629350#629350

--------------------------------------------------------------
Hi Maciej, we have been doing some tests with KnowledgeAgent.

We managed to migrate sessions that are in memory when knowledge base changes.

The problem we are facing is that we are not able to have all sessions in memory when knowledge base modifications happen. This is not possible since we are working with a lot of sessions.

So, we need some kind of additional processing to that performed by KnowledgeAgent in order to update those sessions that are persisted (but not loaded in memory).

We hoped that drools expert provided some facility regarding this point, but I guess the last sentence from the following paragraph extracted from drools expert documentation (still valid for recently released 5.3CR1 version) is stating that that kind of facility will come in future versions:

"The Knowlege Agent provides automatic loading, caching and re-loading of resources and is configured from a 
properties files. The Knowledge Agent can update or rebuild this Knowlege Base as the resources it uses 
are changed. The strategy for this is determined by the configuration given to the factory, but it is 
typically pull-based using regular polling. We hope to add push-based updates and rebuilds in 
future versions."


We are in fact now working in our own custom push solution in which we are loading and persisting sessions, and using the KnowledgeAgent in order to perform the knowledge base adaptations and making the sessions aware to those changes.

With respect to old and new knowledge base, I was refering to (a) the knowledge base before the changes were applied, and (b) the knowledge base after applying the changes.

thanks for your answer!
Jordi Alvarez
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/629350#629350]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110929/82cbd426/attachment.html 


More information about the jboss-user mailing list