MuleSoft Object Store V2 Tutorial : Object Store Connector Operations in Mule 4

By | July 21, 2022

For storing Objects in or across Mule Applications, Batch Processes and Components, Object Stores are used. MuleSoft Object Store lets you store data in the form of key value pairs and get it stored & retrieved through MuleSoft Object Store Connector. In this MuleSoft Object Store V2 Tutorial, you will learn basics of Object Store and you will learn from the associated video tutorial, how to use Object Store V2 in your Mule 4 Applications.

MuleSoft Object Store Introduction

For your MuleSoft Applications, Object Store v2 is used to store data and states across batch processes, Mule components and applications, from within an application or by using the Object Store REST API in the form of Key Value Pairs.

While you can use Object Store functionality explicitly in your Mule Applications as per your use-cases; Mule also internally uses object stores in various filters, routers, and other message processors that need to store states between messages.

Mule 4 Object Store Connector

MuleSoft provides Object Store Connector which provides many useful operations that you can use to store & retrieve data from your Mule Applications in the Object Stores. MuleSoft Object Store Connector can be made available in your AnyPoint Studio by getting it from AnyPoint Exchange.

Currently Available Operations in Mule 4 Object Store Connector

  • Clear

The Clear Operation is used to completely remove all objects (key value pairs) from an Object Store.

  • Contains

The Contains operation is used to check if a value exists against a specific key in the Object Store or not.

  • Remove

The Remove operation is used to remove value against a specific key in the Object Store.

  • Retrieve

The Retrieve operation is used to get value from Object Store against a given Key.

  • Retrieve All

Retrieve All operation is sued to get all Key Value Pairs from an Object Store.

  • Retrieve All Keys

Retrieve All Keys operation returns a list of all available Keys in the Object Store.

  • Store

Store Operation is used to store an object in the Object Store against a given Key.

Mule 4 Object Store V2 Tutorial: How to Store & Retrieve Data from Object Store

Watch below video tutorial on TutorialsPedia YouTube Channel where I have demonstrated an example scenario explaining how you can use Mule 4 Object Store Connector operations to store data in Object Store and then Retrieve Data from the Object Store.

Feel free to comment below if you have any ambiguities or any questions.

Ajmal Abbasi

Ajmal Hussain Abbasi is Integration Consultant By Profession with 13+ years experience in Integration domain mainly with TIBCO products. He has extensive practical knowledge of TIBCO Business Works, TIBCO Cloud, TIBCO Flogo, TIBCO Mashery, TIBCO Spotfire, EMS and TIBCO ActiveSpaces. He has worked on a number of highly critical integration projects in various sectors by using his skills in TIBCO Flogo, TIBCO API Management (Mashery), TCI, Tibco Designer, TIBCO Business Studio, Adapters, TIBCO EMS, RV, Administrator, TIBCO BE, TIBCO ActiveSpaces etc. Ajmal Abbasi has experience with MuleSoft ESB as well. Ajmal Abbasi is also experienced in the area of API Management particularly with WSO2 API management platforms. Ajmal Abbasi is also experienced in developing solutions using Core Java and J2EE Technologies. You can contact Ajmal Abbasi for Consultancy, Technical Assistance and Technical Discussions.

More Posts - Website - Facebook - LinkedIn - YouTube

One thought on “MuleSoft Object Store V2 Tutorial : Object Store Connector Operations in Mule 4

  1. Pingback: MuleSoft Interview Questions and Answers | TutorialsPedia

Leave a Reply

Your email address will not be published. Required fields are marked *