This article is the continued part in the MuleSoft articles series; if you would like to understand the basics of MuleSoft, refer to these articles before going next:
- Getting Started MuleSoft
- How To Connect to Azure SQL Database with MuleSoft
- Load Data from S3 Bucket Using MuleSoft S3 Connector
- How To Call Stored Procedure with MuleSoft
- How To Post Data Using Stored Procedure with MuleSoft
- How To Set Variable and Payload in MuleSoft
- Fetch MySQL Data Using Database Connector in MuleSoft
- Retrieve Data From Database Based On Conditions In MuleSoft
- Create and Write CSV Files Using File Connector in MuleSoft
- Read Files Using File Connector in MuleSoft
- Default Error Handling Behavior of a Mule Application
- Basic Internal Error Handlers in Mule application
- Global Error Handling in Mule Application
- How To Invoke REST Web Service in MuleSoft
- How To Invoke SOAP Web Service in MuleSoft
- How To Create and Trigger Schedulers in MuleSoft
What VM Connector and Why?
VM Connector, known as Virtual Machine connector, is an Anypoint Connector which used to manage intra-app (means within the app) and inter-app (means outside of the app) communication using two built Mulesoft queues, transient or persistent asynchronous queues.
- Transient Queues: Transient queues performance is faster than persisted queues, but they are not reliable. Data will be lost if the system crashes or restarted.
- Persistent Queues: Persistent queues are slow but more reliable. Data will be persisted in case the system crashes or restarted.
Uses Cases
- Used to perform simple queuing that doesn’t justify the use of a full JMS broker (Java Message Service).
- Used to send the message from one mule flow to another mule flow through the queuing mechanism.
- Used to distribute workloads across a cluster.
- Used to communicate with different applications that are running in the same Mule domain.
Getting Started with Anypoint Studio
In this sample, we will exchange the message from one mule flow to another mule flow, and the message will be passed from the postman.
Let's do a quick project setup and include the required global config files; these are the quick steps:
First, open Anypoint Studio and Create a New Mule Project.

Enter the project name, select runtime and project location, and click the Finish button.



















Join the conversation! Your thoughts help the community grow.