[jboss-user] [jBPM] - Re: jBPM as a webservice
Maciej Swiderski
do-not-reply at jboss.com
Sun Dec 18 12:43:23 EST 2011
Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] created the discussion
"Re: jBPM as a webservice"
To view the discussion, visit: http://community.jboss.org/message/642111#642111
--------------------------------------------------------------
Alright, now we have bit more information :)
If I understand your case properly, once a process is started the web service will return at least process instance id to the caller for further reference, correct? If so, you could do one of the following:
* return session id as well with process instance id so it can be referenced for subsequent calls
* maintain a map of process instance id to session id on jBPM service side (either in db or distributed cache)
That would mean that each call should dispose the session. Next calls will load the session based on provided session id regardless of what server the request is being processed on.
What do you think about it?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/642111#642111]
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/20111218/7a5e24a8/attachment.html
More information about the jboss-user
mailing list