Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
Description
Create an implementation of a "single conversation".
A dialog/flow framework will create new conversationContexts instead of direct conversations.
While you still will be able to use conversation.manual or conversation.access it makes sense to also provide a conversation.single implementation which shares the lifetime of the conversationContext (managed by the dialog framework) and has only one (single) persistence context.
Still, mixing the various conversation implementations is possible.
Probably Conversation.getCurrentInstance() outside of a conversation will return this single conversation if it exists within the current conversationContext.