Hi Mike,

On Mar 2, 2012, at 9:37 AM, Cayanan, Michael D (388J) wrote:

> Hi all,
> 
> In the workflow.properties file, I see that I can configure the polling time 
> if a pre condition fails via the following property:
> 
> org.apache.oodt.cas.workflow.engine.preConditionWaitTime
> 
> I have a few questions:
> 
> 1) Is this polling infinite?

What do you mean by "infinite"?

> If so, would you have to shut the workflow server down in order to stop this 
> infinite polling? Or can you shut it down via the workflow manager client 
> tool?

I'm not sure I follow you? The workflow manager's ThreadPoolWorkflowEngine 
needs to evaluate preconditions, on a per workflow-instance basis.
The only way to shut that down, is to shut down the workflow engine, and thus 
implicitly the WM.

> 
> 2) Is there a way to configure the pre condition wait time through the PGE 
> config file? For example, if I have 2 PGEs where I want each PGE to have 
> different pre condition wait times, is this possible?

Can you tell me a specific use case or reason that you would want to have 
different condition check times per PGE?

In short, this can be supported by extending the ThreadPoolWorkflowEngine, and 
then overriding or mapping the condition wait
time to whatever is configured for the PGE. I'd severely caution against doing 
so, b/c you're really giving the developer or 
workflow person an overt amount of control over an aspect of the system that 
will affect (perceived) performance.

Cheers,
Chris


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: [email protected]
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Reply via email to