Is it possible to get Persistent Knowledge session in ESB for processing events over time ?
Issue
- While using
BusinessRulesProcessor
action in JBoss ESB, there is a requirement to process events over time, adding them into the working memory via the ESB then processing the events when rules match. Hence, it would be good if there is a possibility to make theStatefulKnowledgeSession (i.e. ksession)
persistent, so that if the server fails theStatefulKnowledgeSession
can be retrieved.
In JBoss Rules it is possible to create an instance of theStatefulKnowledgeSession
using theJPAKnowledgeService
. Is there an equivalent approach when using theBusinessRulesProcessor
to execute rules from the ESB service? - Is it feasible through writing a custom implementation of
BusinessRulesProcessor
andRuleServiceCallHelper
classes provided through JBoss ESB to achieve this feature and would it be supported?
Environment
- Red Hat JBoss SOA Platform (SOA-P)
- 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.