What is the most direct way for the Sub Mule application to retrieve values from the Pub Mule application persistence object store with the least latency?

A Mule application name Pub uses a persistence object store. The Pub Mule application is deployed to Cloudhub and it configured to use Object Store v2.

Another Mule application name sub is being developed to retrieve values from the Pub Mule application persistence object Store and will also be deployed to cloudhub.

What is the most direct way for the Sub Mule application to retrieve values from the Pub Mule application persistence object store with the least latency?
A . Use an object store connector configured to access the Pub Mule application persistence object store
B . Use a VM connector configured to directly access the persistence queue of the Pub Mule application persistence object store.
C . Use an Anypoint MQ connector configured to directly access the Pub Mule application persistence object store
D . Use the Object store v2 REST API configured to access the Pub Mule application persistence object store.

Answer: D

Explanation:

* The Object Store V2 API enables API access to Anypoint Platform Object Store v2.

* You can configure a Mule app to use the Object Store REST API to store and retrieve values from an object store in another Mule app. However, Object Store v2 is not designed for app-to-app communication. To share data between two Mule4 apps, use a queue in Anypoint MQ.

* The Object Store v2 APIs enable you to use REST to perform the following:

– Retrieve a list of object stores and keys associated with an application.

– Store and retrieve key-value pairs in an object store.

– Delete key-value pairs from an object store.

– Retrieve Object Store usage statistics for your organization.

– Object Store provides these APIs:

Object Store API

Object Store Stats API

Reference: https://docs.mulesoft.com/object-store/osv2-apis

Additional Info:

When to use Object Store and when to use VM

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments