Kevin,
One of the design issues with support for stateful services was to be able to determine
when to dispose of the StatefulSession. In the code I contributed I used message
properties to tell the BusinessRulesProcessor to create the StatefulSession, continue to
use it, or to dispose of it. In retrospect I am not sure this is necessarily a good
design, as it requires the use of these message properties.
I don't believe these are currently working in ESB 4.6. I have been doing testing with
ESB 4.6 and Drools 5 Complex Event Processing, and it appears the StatefulSession remains
until the service is re-loaded (which is fine for the testing I have been doing).
I have written up other JIRAs recently proposing some ideas on how to better support CEP
and StatefulSessions. One idea is to separate the management of the StatefulSession and
the inserting of events into the StatefulSession into different services.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261623#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...