This guide briefly describes the Virtual Machine (VM) transport. Sample configurations on VM Transport can be found on samples #420, #421, #422 and #423.
The VM transport listener dispatches a message being processed in the same Java Virtual machine into another service, yet guaranteeing all the other transport related properties. The transport listener should be coupled with a VMTransportSender. The listener alone makes no sense as the only way of receiving a message to this listener is via the VM transport sender. It is generally assumed to be a single VM transport listener/sender pair per JVM as there is no other differentiation for the VM transport than the JVM.
Virtual machine transport sender, which dispatches the current payload as it is to the specified proxy service on the same Java Virtual Machine, with the use of the VMTransportListener. The listener has to be configured with the sender for the configuration to be effective, as there wont be any services registered for the VM dispatcher without the listener. It is generally assumed to be a single VM transport listener/sender pair per JVM as there is no other differentiation for the VM transport than the JVM.