-
1. Re: execution. resume/suspend
tom.baeyens Aug 10, 2007 11:47 AM (in response to csouillard)i just saw that suspend and resume was implemented in executionimpl to make the link test work
not the suspend and resume impl that i had in mind.
imo, suspend should make sure that 1) all tasks related to that exectuion don't show up in task lists and 2) all timers and async messages related to that execution are not executed
resume should do the reverse.
i don't think that suspend and resume should have an effect within one tx. so it should not interfere with the propagation or execution. -
2. Re: execution. resume/suspend
csouillard Aug 13, 2007 5:28 AM (in response to csouillard)I know this implementation is not complete and probably different from the one you expected but it was a good way to shwo you what is needed in Bpel flow executions...
I am still trying to find a better solution.
Charles -
3. Re: execution. resume/suspend
tom.baeyens Aug 13, 2007 6:09 AM (in response to csouillard)yes. that is the spirit.
I think functionality should move to an execution scope. I want to do a link test myself as well. You don't have to do it, but if we have 2 versions, we can always compare them. -
4. Re: execution. resume/suspend
csouillard Aug 13, 2007 10:54 AM (in response to csouillard)I just commited a new version of LinkTest without using suspend/resume.
I just spent many hours going in deep in all of Execution methods to understand which method I had to call (and where)...
I think the new code is in the line of pvm concepts... What do you think ?
Charles -
5. Re: execution. resume/suspend
tom.baeyens Aug 14, 2007 2:32 AM (in response to csouillard)good progress.
some thoughts:
* static methods canExecute, addWaitingActivity and memberFields linkStatusses and waitingExecutions should be moved/created in a FlowScope
* i think execution.proceed(); should not be in the abstract activity. as in that case, the child nodes cannot behave as wait states any more
* for the sources and target members i create a separate topic. those have to be moved to either the NodeBehaviour (Activity) or we have to extend Node. I'm not yet sure what strategy is best. -
6. Re: execution. resume/suspend
csouillard Aug 14, 2007 10:52 AM (in response to csouillard)this done now...
Can you have a look ?
Thanks
Charles