Reputation: 1993
I want to store results from the mule flows in a mule object store. It works good, but where can I find the files that is persisted?
I am using ObjectStore configuration in anypoint studio:
Upvotes: 1
Views: 4579
Reputation: 627
The location of the object store if persistent is the object store will locally persist at <MULE_HOME>/.mule/<>/objectstore/.
Please go through the following link for more details on Mule object store; https://help.mulesoft.com/s/article/The-Different-Types-of-Object-Stores-Explained
Upvotes: 0
Reputation: 21
You can find the object store in the below location:
C:\AnypointStudio\plugins\org.mule.tooling.server.4.3.0.ee_7.3.5.202005112043\mule\.mule\mydemo-app\objectstore
Upvotes: 1
Reputation: 8311
It all depend's on the location you provide...
For example for the following example, it stores the file in the application in a folder named idempotent as we have given the path here :- <simple-text-file-store directory="./idempotent" />
:-
<flow name="tttFlow1" >
<http:listener config-ref="HTTP_Listener_Configuration" path="/aaa" doc:name="HTTP"/>
<idempotent-message-filter idExpression="#[message:payload]" doc:name="Idempotent Message" throwOnUnaccepted="true" onUnaccepted="ValidationFailFlow">
<simple-text-file-store directory="./idempotent" /> <!-- In Text file files -->
</idempotent-message-filter>
<logger message="Passed" level="INFO" doc:name="Logger"/>
<set-payload value="Passed" doc:name="Set Payload"/>
<catch-exception-strategy doc:name="Catch Exception Strategy">
<set-payload value="EXCEPTION!" doc:name="Set Payload" />
</catch-exception-strategy>
</flow>
reference :- https://docs.mulesoft.com/mule-user-guide/v/3.6/mule-object-stores
Upvotes: 1