Difference between revisions of "GVNodeCheck"
(Created page with "==Description== This element defines the nodes where {{GVESB}} makes decisions and determines which is the next node to execute. =={{GVESB}} Configuration== Each 'GVNodeCheck'...") |
(→{{GVESB}} Configuration) |
||
Line 5: | Line 5: | ||
=={{GVESB}} Configuration== | =={{GVESB}} Configuration== | ||
− | Each 'GVNodeCheck' has a basic routing mechanism that chooses the next node only by the presence or absence of errors reported by exceptions. In any case, you can define more sophisticated routing mechanisms defining the sub-elements | + | Each 'GVNodeCheck' has a basic routing mechanism that chooses the next node only by the presence or absence of errors reported by exceptions. In any case, you can define more sophisticated routing mechanisms defining the sub-elements [[#GVRouting|GVRouting]], allowing many opportunities for branching flows: |
− | * BASE (without | + | * BASE (without [[#GVRouting|GVRouting]]): Depending on the type of input ([[GVBuffer]] or exception) will be designated as the next node, the one expressed by the attributes 'default-id' or 'on-exception-id'. |
− | * ADVANCED (with | + | * ADVANCED (with [[#GVRouting|GVRouting]]): Regardless of the type of input ([[GVBuffer]] or exception) will assess the conditions for routing the order they are defined. <br/> The first condition is verified the evaluation ends and the corresponding node is designated as the next node of the workflow.<br/> If neither GVRouting condition is met and is considering an exception continues from |
the node specified by 'on-exception-id' otherwise continues from the node specified by 'default-id'. <br/> If 'default-id' is not configured will create an exception type it.greenvulcano.gvesb.core.GVCoreException and the node specified by 'on-exception- | the node specified by 'on-exception-id' otherwise continues from the node specified by 'default-id'. <br/> If 'default-id' is not configured will create an exception type it.greenvulcano.gvesb.core.GVCoreException and the node specified by 'on-exception- | ||
id' is the next node to execute. | id' is the next node to execute. | ||
Line 15: | Line 15: | ||
The conditions can be redefined in several places, in case of ambiguity will be considered according to priority. | The conditions can be redefined in several places, in case of ambiguity will be considered according to priority. | ||
− | The GVNodeCheck Element is used by | + | The GVNodeCheck Element is used by [[Flow]]. |
The following table shows the GVNodeCheck element's attributes: | The following table shows the GVNodeCheck element's attributes: | ||
Line 45: | Line 45: | ||
|- | |- | ||
| condition || required || Name of the condition to be verified. | | condition || required || Name of the condition to be verified. | ||
− | The actual meaning of the condition is specified by the elements 'Conditions' present on the nodes | + | The actual meaning of the condition is specified by the elements 'Conditions' present on the nodes [[Flow]], [[Service]] and [[Client]]. |
|- | |- | ||
| next-node-id || required || Node to execute if the condition is verified. | | next-node-id || required || Node to execute if the condition is verified. |
Revision as of 08:54, 23 February 2012
Description
This element defines the nodes where GreenVulcano® ESB makes decisions and determines which is the next node to execute.
GreenVulcano® ESB Configuration
Each 'GVNodeCheck' has a basic routing mechanism that chooses the next node only by the presence or absence of errors reported by exceptions. In any case, you can define more sophisticated routing mechanisms defining the sub-elements GVRouting, allowing many opportunities for branching flows:
- BASE (without GVRouting): Depending on the type of input (GVBuffer or exception) will be designated as the next node, the one expressed by the attributes 'default-id' or 'on-exception-id'.
- ADVANCED (with GVRouting): Regardless of the type of input (GVBuffer or exception) will assess the conditions for routing the order they are defined.
The first condition is verified the evaluation ends and the corresponding node is designated as the next node of the workflow.
If neither GVRouting condition is met and is considering an exception continues from
the node specified by 'on-exception-id' otherwise continues from the node specified by 'default-id'.
If 'default-id' is not configured will create an exception type it.greenvulcano.gvesb.core.GVCoreException and the node specified by 'on-exception-
id' is the next node to execute.
Routing conditions refer to conditions specified by the items 'Conditions' present on the nodes Flow, Service and Client (from high to low priority).
The conditions can be redefined in several places, in case of ambiguity will be considered according to priority.
The GVNodeCheck Element is used by Flow.
The following table shows the GVNodeCheck element's attributes:
Attribute | Type | Description |
---|---|---|
type | fixed | This attribute must assume the value flow-node. |
op-type | fixed This attribute must assume the value check. | |
class | fixed | This attribute must assume the value it.greenvulcano.gvesb.core.flow.GVNodeCheck. |
id | required | ID of the node. Unique within the 'Flow'. |
Might contain the following subelements:
- Description
- GVRouting
GVRouting
Associates a condition to a node of the workflow.
If the condition is satisfied, the workflow transfers control to the associated node.
The following table shows the GVRouting element's attributes:
Attribute | Type | Description |
---|---|---|
condition | required | Name of the condition to be verified.
The actual meaning of the condition is specified by the elements 'Conditions' present on the nodes Flow, Service and Client. |
next-node-id | required | Node to execute if the condition is verified. |
point-x | optional | X position of the node in the VulCon workflows editor.
Immutable, used by VulCon®. |
point-y | optional | Y position of the node in the VulCon workflows editor.
Immutable, used by VulCon®. |
Might contain the element Description.