Check

Description


it’s the node which allows the ESB to decide what is the next node is going to be executed. Each GVNodeCheck has a base routing mechanism which chooses the next node to execute, based on the eventual presence of errors which will lead to exceptions.

A particular sub-element, the GVRouting, aids the GVNodeCheck to choose the next node to execute based on a chosen condition clause

Developer Studio(VulCon)/GV Console Configuration


Node GVCore element Description
Check GVNodeCheck Defines the nodes where GreenVulcano® ESB makes decisions and determines which is the next node to execute.

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 is a Flow element that extends FlowNode. It has the following attributes:

Attribute Type Description
op-type fixed This attribute must assume the value check.
class fixed This attribute must assume the value it.greenvulcano.gvesb.core.flow.GVNodeCheck.

Might contain the following sub-elements:

  • 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
condidition 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 Xposition 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 sub-element Description.