concept VM transport in category mule

This is an excerpt from Manning's book Mule in Action, Second Edition.
The VM transport is a special kind of transport that you’ll use to send messages inside the JVM in which the Mule instance is running. Messages sent over VM endpoints can be made transactional and persisted to disk. This enables you to layer-in reliability and decouple your flows without the need for an external messaging broker. We’ll take a look at how to do that in this section. We’ll revisit implementing reliability patterns with the VM transport in chapter 9, when we discuss Mule’s support for transactions.
Table 3.8 shows some of the properties you can set for the VM transport.
Using VM queues was a common way to compose services together in Mule 2. The introduction of flows in Mule 3 and their supporting functionality, like flow refs and subflows, makes the use of the VM transport less useful in this context. They do, however, provide a foundation for reliability patterns, which we’ll discuss in chapter 7.
The VM transport supports the request-response exchange pattern and behaves much like the JMS transport in this respect.
The VM transport will deliver messages as fast as it gets them, which can be considerably faster than JMS. Keep this in mind when you tune your flows and components; it’s very easy to overload a flow with VM queues. The maxOutstandingMessages attribute
tells the VM transport to buffer up to 1000 messages if they’re arriving too quickly to be processed by the flow on demand. Messages arriving after the buffer has been filled will be lost. We’ll discuss tuning in detail in chapter 11.
Using the VM transport gives you some of the benefits of decoupling middleware without the overhead of administering a broker. You saw in this section how the VM transport facilitates the implementation of reliability patterns—techniques you can use to make unreliable transports, like file or HTTP, reliable. You also saw how to configure VM queue stores, which let you override the default queuing and persistence behaviors of the VM transport.
tells the VM transport to buffer up to 1000 messages if they’re arriving too quickly to be processed by the flow on demand. Messages arriving after the buffer has been filled will be lost. We’ll discuss tuning in detail in