Iterator CoreCall

Allows you to make a call to another department in an iterative manner.
Developer Studio(Vulcon)/ GV Console Configuration
| Iteration node | GVIterationOperationNode Sub-element | Description |
|---|---|---|
| Iterator CoreCall | CoreCall | Invokes a GreenVulcano® ESB service. |
The GVIteratorOperationNode is a Flow element that extends FlowNode.
The iterations are made on the elements of a collection built by a CollectionDataProvider configured through the attribute ‘collection-DP’.
Collection elements are inserted in the GVBuffer object to pass to the plug-in with which loop through invocations.
You can configure a condition of premature exit from the loop.
By default, even if a particular iteration throws an exception all the iterations will be executed anyway.
The following table shows the GVIteratorOperationNode element’s attributes:
| Attribute | Type | Description |
|---|---|---|
| class | fixed | This attribute must assume the value it.greenvulcano.gvesb.core.flow.GVIteratorOperationNode. |
| op-type | required | Indicatesthe type of operation that GreenVulcano® ESB must execute:
|
| collection-dp | optional | Name of Data Provider to use. Must return a collection of objects. The attribute's value can't be null. |
| accumulate-output | optional | Iftrue, output of each iteration is to an array containing the previous iteration's output. Default is true. |
CoreCall
Defines the parameters to invoke a GreenVulcano® ESB service.
Dynamic fields can contains placeholders.
The following table shows the CoreCall element’s attributes:
| Attribute | Type | Description |
|---|---|---|
| dynamic | optional | If'true' then id-system, id-service and operation attributes can contains metadata to be resolved at runtime.Default false. |
| id-service | required | Nameof Service to call. |
| id-system | optional | Nameof Service to call. |
| operation | required | Operation to invoke on the service. Corresponds to a GreenVulcano® ESB communication operation or to a forward. |
| ref-dp | optional | Nameof Data Provider to use for modifying the GVBuffer content at each iteration. |
| change-log-context | optional | If true change the log context fields according to the new System/Service/Operation values. Default true. |
| change-log-master-service | optional | If true change the log master service with the used one (configured or calculated), in order to write log messages into a different log file.Used only if @change-log-context is true. Default false. |