Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Retrieving Large Datasets in Mule ESB

DZone's Guide to

Retrieving Large Datasets in Mule ESB

· Integration Zone ·
Free Resource

The Future of Enterprise Integration: Learn how organizations are re-architecting their integration strategy with data-driven app integration for true digital transformation.

Clare Cini recently wrote a useful example for performing a batch select and batch insert transfer of data between two databases with Mule ESB.  The documentation for Mule covers large dataset retrieval, but only briefly.  

The customer wanted to transfer items from one database to another by performing a batch select and then a batch insert. The ‘batch insert’ part is pretty straightforward and is done automatically by Mule when the payload is of type List. However, the batch select is mastered in a different way.
In order to retrieve all the records, we will use the Batch Manager to compute the ID ranges for the next batch of records to be retrieved. This is provided out of the box with Mule EE.

-- Clare Cini

Think of this as a useful addendum to the documentation.

Make your mark on the industry’s leading annual report. Fill out the State of API Integration 2019 Survey and receive $25 to the Cloud Elements store.

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}