Create a Message Store¶
Follow the instructions below to create a new Message Store artifact in the Micro Integrator for Visual Studio Code extension (MI for VS Code).
Instructions¶
Create the message store artifact¶
-
Launch Visual Studio Code with the Micro Integrator for VS Code extension (MI for VS Code) installed.
Info
Follow the Install Micro Integrator for VS Code documentation for a complete installation guide.
-
Create an integration project.
-
To add a new Message Store, navigate to Micro Integrator Project Explorer.
-
Click on the + icon to open the Add Artifact pane.
-
Click + View More under Create an Integration.
-
Click Message Store under Other Artifacts to open the Message Store Form.
-
Select the type of message store you are creating.
-
Enter a unique name for the message store.
-
Specify values for the other required properties.
See the links given below for descriptions of message store properties for each store type:
-
Once you specify the values for the relevant properties, click Create.
The message store is created in the <PROJECT_NAME>/src/main/wso2mi/artifacts/message-stores
folder under the integration project you created.
Design the integration¶
To add a message store to the integration sequence, use the Store Mediator:
-
Open to the Design View of your mediation sequence.
-
Add Store Message from the Palette under Mediators > Generic to the relevant position in the mediation sequence.
-
Select the name of the message store artifact you previously created from the dropdown.
The message store is now linked to your integration sequence.
Update the properties¶
Open the above-created message store artifact from the MI Project Explorer. You can use the Form view or the Source view to update message store properties.
Tutorials¶
Follow our tutorials on message stores:
Examples¶
Follow our examples on message stores: