GVSubFlowSplittedNode

From GreenVulcano Wiki
Revision as of 10:38, 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== GVSubFlowSplitt...")
(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

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

The following table shows the GVSubFlowSplittedNode element's attributes:

Attribute Type Description
class fixed This attributes must assume the value it.greenvulcano.gvesb.core.flow.GVSubFlowSplittedNode
op-type fixed This attributes must assume the value splitt
subflow required Name of the sub-flow to invoke
change-log-context optional If 'true' log context is updated.

The default is 'false'.

partition-dp optional Name of Data Provider to use. Must return a collection of objects.
ref-dp optional Name of Data Provider to use for input manipulation at each iteration.

This Data Provider will receive in input a GVBuffer and must return the object to be inserted in GVBuffer.object.

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: