[rules-users] Drools Flow: Find a Session ID to reload the JPA Stateful session

tolitius webakaunt at gmail.com
Tue Mar 30 12:46:48 EDT 2010


Wait state is reached (request is sent to an external system), the flow is
persisted, the thread that persisted the flow is gone.

Now, the response came back from the external system, and now would be a
good time to resume the flow (reload the session):


StatefulKnowledgeSession ksession =
JPAKnowledgeService.loadStatefulKnowledgeSession( sessionId, kbase, null,
env );
What would be the best approach to find this SessionID that was suspended?
Is there any out of the box [ flow / business ] mapping that can be used?


Thank you,

/Anatoly


-- 
View this message in context: http://n3.nabble.com/Drools-Flow-Find-a-Session-ID-to-reload-the-JPA-Stateful-session-tp686250p686250.html
Sent from the Drools - User mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100330/5b317ec4/attachment.html 


More information about the rules-users mailing list