Skip to content

Batch Iterator Mediator extends WSO2 Iterate Mediator by providing iteration by several elements (batch) at a time.

License

Notifications You must be signed in to change notification settings

Unikie/wso2-esb-batch-iterator-mediator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WSO2 ESB Batch Iterator Mediator

Build status

What is WSO2 ESB?

WSO2 ESB is an open source Enterprise Service Bus that enables interoperability among various heterogeneous systems and business applications.

Features

Batch Iterator Mediator extends WOS2 Iterate Mediator by providing iteration by several elements (batch) at a time.

Usage

1. Get the WSO2 ESB Bacth Iterator Mediator jar

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.

2. Install the mediator to the ESB

Copy the wso2-esb-batch-iterator-mediator-x.y.jar to $WSO2_ESB_HOME/repository/components/dropins/.

3. Use it in your proxies/sequences

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>

Example

<batchIterator batchSize="3" expression="//iterate">
   <target>
     <sequence>
       <!-- Do something here with elements -->
     </sequence>
   </target>
</batchIterator>

Technical Requirements

Usage

  • Oracle Java 6 or above
  • WSO2 ESB
    • Wrapper Mediator has been tested with WSO2 ESB versions 4.9.0 & 5.0.0

Development

  • Java 6 + Maven 3.0.X

Contributors

Copyright © 2016 Mystes Oy. Licensed under the Apache 2.0 License.

About

Batch Iterator Mediator extends WSO2 Iterate Mediator by providing iteration by several elements (batch) at a time.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages