GVSubFlowParallelNode

From GreenVulcano Wiki
Revision as of 10:43, 13 May 2014 by G.dimaio (talk | contribs) (Created page with "==Description== Node that allows direct invocation of a {{GVESB}} core workflow's sub-flows as parallel processes. =={{VULCON}} / {{GVCONSOLE}} Configuration== GVSubFlowParall...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

Node that allows direct invocation of a GreenVulcano® ESB core workflow's sub-flows as parallel processes.

VulCon / GV Console Configuration

GVSubFlowParallelNode allows to call a SubFlow in parallel, is a Flow element that extends FlowNode.

The following table shows the GVSubFlowParallelNode element's attributes:

Attribute Type Description
class fixed This attributes must assume the value it.greenvulcano.gvesb.core.flow.GVSubFlowParallelNode
op-type fixed This attributes must assume the value parallel
change-log-context optional If 'true' log context is updated.

The default is 'false'.

termination-mode optional Defines the termination policy of the subflows processes:
- normal-end  : all subflows must terminate normally
- first-end   : at first subflow that ends with succes all executing subflows are terminated and all queued subflows are ignored
- first-error : at first subflow that ends with error all executing subflows are terminated and all queued subflows are ignored
- timeout     : max execution time for the node after wich all executing subflows are terminated and all queued subflows are ignored

Default normal-end.

on-exception-id required Node on which transfer control in case of exception during subflow execution.
on-skip-id optional Node on which transfer control in case no subflow are started because all conditions returns false.

If not defined the control is transferred to @default-id node.

on-timeout-id optional Node on which transfer control in case @termination-mode=timeout and not all subflow are terminated after @timeout seconds.

If not defined the control is transferred to @default-id node.

default-id required Node on which transfer control if subflow initialization is completed without errors.
max-thread optional Max number of subflow's execution threads.

Default to 5.

timeout optional Max execution time, in seconds, of the subflows.

Default to 30s.

Might contain the following elements: