WSO2 ESB is an open source Enterprise Service Bus that enables interoperability among various heterogeneous systems and business applications.
Batch Iterator Mediator extends WOS2 Iterate Mediator by providing iteration by several elements (batch) at a time.
You have two options:
a) Add as a Maven/Gradle/Ivy dependency to your project. Get the dependency snippet from here.
b) Download it manually from here.
Copy the wso2-esb-batch-iterator-mediator-x.y.jar
to $WSO2_ESB_HOME/repository/components/dropins/
.
Mediator can be used as follows:
<batchIterator batchSize="number" [continueParent=(true | false)] [preservePayload=(true | false)] (attachPath="xpath")? expression="xpath">
<target [to="uri"] [soapAction="qname"] [sequence="sequence_ref"] [endpoint="endpoint_ref"]>
<sequence>
(mediator)+
</sequence>?
<endpoint>
endpoint
</endpoint>?
</target>+
</batchIterator>
<batchIterator batchSize="3" expression="//iterate">
<target>
<sequence>
<!-- Do something here with elements -->
</sequence>
</target>
</batchIterator>
- Oracle Java 6 or above
- WSO2 ESB
- Wrapper Mediator has been tested with WSO2 ESB versions 4.9.0 & 5.0.0
- Java 6 + Maven 3.0.X
Copyright © 2016 Mystes Oy. Licensed under the Apache 2.0 License.