Solution
Overall solution
In this case, let us call call a simple operation, "AddIntegers" on a service "MathOperations". This operation takes <integer1> and <integer2> parameters, both with an integer value, and returns the sum of the two integers.
We will first use the EIP pattern "Aggregator", chained with the EIP "Splitter". Aggregator bufferize messages, until receiving a trigger message. Then he sends one single message aggregating all bufferized messages, to the next service. Then we will split back all messages, to be readable by "AddIntegers" operation, using the EIP pattern Splitter.
Petals Settings and Messages Flows
Configuration for the Petals-SE-Talend component
hjh
Configuration for the Petals-BC-SOAP component
Running the use case
To test this use case, you need to deploy the Petals-SE-EIP