Solution
Overall solution
We want to call the operation "AddIntegers" on a service "MathOperations", using a buffer. This operation needs two integer parameters, <integer1> and <integer2>, and returns their sum.
We will send messages to an EIP pattern "Aggregator". It will bufferize all messages, until he gets a trigger message. Then it sends the whole buffer, aggregated in one single message, to the next service, EIP Splitter. It will split back the aggregated message into several messages, and send them to the next step, "AddIntegers" operation, to process all messages.
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