Graph Terminator V2
The Graph Terminator operator terminates the current graph execution when all input ports receive a termination signal. This operator has only one standard input port, but you can add multiple input ports of different types according to the given termination scenario.
-
Any message is retrieved, and On Last Batch is set to false.
-
Any message received without the com.sap.headers.batch header.
-
A batch message with isLast == true in the com.sap.headers.batch header when On Last Batch is set to true.
Configuration Parameters
|
Name |
ID |
Type |
Description |
|---|---|---|---|
|
On Last Batch |
onLastBatch |
bool |
Mandatory. Only if you would like to terminate on a batch message even if it is not the lastBatch. Then, set this to false. |
Input
|
Input |
Description |
|---|---|
|
in |
A generic port accepting any arbitrary incoming message. |
You can add multiple input ports of different types according to the given termination scenario where the graph should only terminate when multiple signals have been retrieved. It is important to notice that if a new port is added but it isn’t connected, the operator won’t terminate the graph since it expects all ports to be terminated before finishing the graph.
Output
None.