Strategies for Landing an Oracle DBA Job as a Fresher
Vm transport
1. VM TRANSPORT
VM Transport is based on in-memory Queues
available within Mule JVM. These can also be
persisted to Files should we require more
reliable storage. These are just like JMS
Queues
2. • The in memory (VM) transport has two modes of
operation: One for use with request-response and another
for use with one-way endpoints.
• request-response:
• When using request-response endpoints, messages are
delivered directly from an outbound vm endpoint to the
inbound vm endpoint that is listening on the same path.
This delivery is blocking and occurs in the same thread.
• one-way:
• When using one-way endpoints, messages are delivered
to the corresponding inbound endpoint via a queue. This
delivery is non-blocking.
3. • Asynchronous communication is desired but external
message broker (such as Active MQ) can’t be used. This
can be for for performance or non-availability reasons.
• Create VM endpoints.
• Messages will be received on inbound endpoints.
• Messages will be sent to outbound endpoints.
• Both kinds of endpoints are identified by a path name or
address.
4. Lets create an example to understand how VM transport works.
• Create a HTTP inbound endpoint with port as “8081” and
path as “vm”. Then drag and drop a VM endpoint next to
HTTP. Select “request-response” as exchange pattern.
Also, specify “VM1” as Queue Path.
• Drag and drop another VM endpoint below
vmdemoFlow1. Mule Studio automatically creates another
flow named vmFlow2. Select “request-response” as
exchange pattern. Also, specify “VM1” as Queue Path.
This ensures messages passed from vmFlow1 are read in
vmdemoFlow1 since Queue paths are same.