SlideShare a Scribd company logo
WebService with VM in Mule
We all know how to expose a CXF based SOAP web services in Mule.
How about exposing the web service by decomposing a complex flow into smaller
part with VM component ??
Mule supports VM transport, which by default uses in-memory queues but can
optionally be configured to use persistent queues.
The VM transport has often been used to implement complex integrations, where the
flow is big and complex and need to be broken into smaller parts for better control.
One main reason to use this architecture, is that we can fragment the logic into
smaller pieces and can connect it and decouple each event, and is done mainly for
high performance and high control.
So now, we will see how easy it is to configure and expose a CXF web service with VM
component in Mule.
And for this we need to have 2 separate flow to expose the web service.
Advantage with breaking the flow with a queue :-
• Help to control on each event queue
• It also reduce the complexity in the Mule flow, where there is a large Mule flow
with different functionality.
• The service can be well-conditioned to load
• Preventing resources from being over committed when demand exceeds service
capacity.
• The message flow will be faster compared to other queue services like ActiveMq.
So, let’s create our flow to expose a CXF web service by breaking the flow into 2 parts
connected with VM components as follows :-
You can see that we have used a set property after CXF component to store the
method name which is actually SOAP action here as the message properties generally
get lost if passed through a VM queue.
Our Mule config will be following :-
You can see in flow2 the SOAP action stored is provided as entry point for web service
implementing java class
Now, we can test our web service in SOAPUI and see that the web service is
generating a response which means it is working perfectly
So, if we are exposing a web service using VM endpoints the first thing we should keep
in mind is to store the outbound properties of the message before sending the
message to the VM outbound endpoint .
The main reason of doing is to protect the properties and get it in our next flow, since a
message may loose it’s outbound properties while passing through a VM.
In my next slide I will bring some other techniques of implementing VM endpoint in
our flow.
Hope you have enjoyed this simpler version.
Keep sharing your knowledge everywhere and let our mule community grow 
So, Happy coding …
Web service vm in mule

More Related Content

What's hot (9)

PPTX
Soap in mule
D.Rajesh Kumar
 
PPTX
Mule CXF component
Ankush Sharma
 
PPTX
Mule java part-1
Karnam Karthik
 
PPTX
VM example in mule
Anirban Sen Chowdhary
 
PPTX
Validating a soap request in mule
Anirban Sen Chowdhary
 
PPTX
Mule Microsoft Share Point 2010 Connector
Ankush Sharma
 
PPTX
Mule soap
D.Rajesh Kumar
 
PPTX
Validate Soap Request in Mule
irfan1008
 
PPTX
Webservice vm in mule
Praneethchampion
 
Soap in mule
D.Rajesh Kumar
 
Mule CXF component
Ankush Sharma
 
Mule java part-1
Karnam Karthik
 
VM example in mule
Anirban Sen Chowdhary
 
Validating a soap request in mule
Anirban Sen Chowdhary
 
Mule Microsoft Share Point 2010 Connector
Ankush Sharma
 
Mule soap
D.Rajesh Kumar
 
Validate Soap Request in Mule
irfan1008
 
Webservice vm in mule
Praneethchampion
 

Similar to Web service vm in mule (20)

PPTX
Webservice with vm in mule
Khan625
 
PPTX
Webservice with vm in mule
AbdulImrankhan7
 
PPTX
Webservice with vm in mule
Rajkattamuri
 
PPTX
Webservice with vm in mule
Mohammed625
 
PPTX
Webservice with vm in mule
mdfkhan625
 
PPTX
Webservice with vm in mule
javeed_mhd
 
PPTX
web service with vm
AbdulImrankhan7
 
PPTX
Simple web service vm
Hasan Syed
 
PPTX
A simple webservice with vm
Khasim Saheb
 
PPTX
WebService with VM
Praneethchampion
 
PPTX
Webservice with vm
mdfkhan625
 
PPTX
Simple web service vm
Khan625
 
PPTX
WebService with vm
javeed_mhd
 
PPTX
Simple web service vm
Sunil Komarapu
 
PPTX
Mulesoft vm transport reference
kumar gaurav
 
PPTX
ESB Online Training Part 2
Vince Soliza
 
PPTX
Vm component in mule demo
Sudha Ch
 
PPTX
Vm component in mule
javeed_mhd
 
PPTX
Vm component
Sunil Komarapu
 
PPTX
Vm component
F K
 
Webservice with vm in mule
Khan625
 
Webservice with vm in mule
AbdulImrankhan7
 
Webservice with vm in mule
Rajkattamuri
 
Webservice with vm in mule
Mohammed625
 
Webservice with vm in mule
mdfkhan625
 
Webservice with vm in mule
javeed_mhd
 
web service with vm
AbdulImrankhan7
 
Simple web service vm
Hasan Syed
 
A simple webservice with vm
Khasim Saheb
 
WebService with VM
Praneethchampion
 
Webservice with vm
mdfkhan625
 
Simple web service vm
Khan625
 
WebService with vm
javeed_mhd
 
Simple web service vm
Sunil Komarapu
 
Mulesoft vm transport reference
kumar gaurav
 
ESB Online Training Part 2
Vince Soliza
 
Vm component in mule demo
Sudha Ch
 
Vm component in mule
javeed_mhd
 
Vm component
Sunil Komarapu
 
Vm component
F K
 
Ad

More from Mohammed246 (20)

PPTX
Expression filter in Mule
Mohammed246
 
PPT
Anypoint data gateway
Mohammed246
 
PPT
Oracle connector
Mohammed246
 
PPT
Api Layer
Mohammed246
 
PPTX
Maven part 3
Mohammed246
 
PPTX
Maven part 2
Mohammed246
 
PPTX
Maven part 1
Mohammed246
 
PPTX
Jenkins part 3
Mohammed246
 
PPTX
Jenkins part 2
Mohammed246
 
PPTX
Jenkins Part 1
Mohammed246
 
PPTX
jBPM Connector
Mohammed246
 
PPTX
Java for beginners
Mohammed246
 
PPTX
Scatter gather
Mohammed246
 
PPTX
Velocity in Mule
Mohammed246
 
PPTX
Rabbit Mq in Mule
Mohammed246
 
PPTX
Quartz in Mule
Mohammed246
 
PPTX
Xslt in mule
Mohammed246
 
PPTX
Drools in Mule
Mohammed246
 
PPTX
Mule Esb Data Weave
Mohammed246
 
PPTX
Idempotent filter in mule
Mohammed246
 
Expression filter in Mule
Mohammed246
 
Anypoint data gateway
Mohammed246
 
Oracle connector
Mohammed246
 
Api Layer
Mohammed246
 
Maven part 3
Mohammed246
 
Maven part 2
Mohammed246
 
Maven part 1
Mohammed246
 
Jenkins part 3
Mohammed246
 
Jenkins part 2
Mohammed246
 
Jenkins Part 1
Mohammed246
 
jBPM Connector
Mohammed246
 
Java for beginners
Mohammed246
 
Scatter gather
Mohammed246
 
Velocity in Mule
Mohammed246
 
Rabbit Mq in Mule
Mohammed246
 
Quartz in Mule
Mohammed246
 
Xslt in mule
Mohammed246
 
Drools in Mule
Mohammed246
 
Mule Esb Data Weave
Mohammed246
 
Idempotent filter in mule
Mohammed246
 
Ad

Recently uploaded (20)

PDF
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
PDF
Bitkom eIDAS Summit | European Business Wallet: Use Cases, Macroeconomics, an...
Carsten Stoecker
 
PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
PPTX
Wondershare Filmora Crack Free Download 2025
josanj305
 
PDF
Software Development Company Keene Systems, Inc (1).pdf
Custom Software Development Company | Keene Systems, Inc.
 
PDF
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
PDF
🚀 Let’s Build Our First Slack Workflow! 🔧.pdf
SanjeetMishra29
 
PPTX
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PDF
Next Generation AI: Anticipatory Intelligence, Forecasting Inflection Points ...
dleka294658677
 
PDF
Home Cleaning App Development Services.pdf
V3cube
 
PDF
Bharatiya Antariksh Hackathon 2025 Idea Submission PPT.pdf
ghjghvhjgc
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PDF
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
Evolution: How True AI is Redefining Safety in Industry 4.0
vikaassingh4433
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
Bitkom eIDAS Summit | European Business Wallet: Use Cases, Macroeconomics, an...
Carsten Stoecker
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
Wondershare Filmora Crack Free Download 2025
josanj305
 
Software Development Company Keene Systems, Inc (1).pdf
Custom Software Development Company | Keene Systems, Inc.
 
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
🚀 Let’s Build Our First Slack Workflow! 🔧.pdf
SanjeetMishra29
 
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
Next Generation AI: Anticipatory Intelligence, Forecasting Inflection Points ...
dleka294658677
 
Home Cleaning App Development Services.pdf
V3cube
 
Bharatiya Antariksh Hackathon 2025 Idea Submission PPT.pdf
ghjghvhjgc
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Evolution: How True AI is Redefining Safety in Industry 4.0
vikaassingh4433
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 

Web service vm in mule

  • 2. We all know how to expose a CXF based SOAP web services in Mule. How about exposing the web service by decomposing a complex flow into smaller part with VM component ??
  • 3. Mule supports VM transport, which by default uses in-memory queues but can optionally be configured to use persistent queues. The VM transport has often been used to implement complex integrations, where the flow is big and complex and need to be broken into smaller parts for better control.
  • 4. One main reason to use this architecture, is that we can fragment the logic into smaller pieces and can connect it and decouple each event, and is done mainly for high performance and high control. So now, we will see how easy it is to configure and expose a CXF web service with VM component in Mule. And for this we need to have 2 separate flow to expose the web service.
  • 5. Advantage with breaking the flow with a queue :- • Help to control on each event queue • It also reduce the complexity in the Mule flow, where there is a large Mule flow with different functionality. • The service can be well-conditioned to load • Preventing resources from being over committed when demand exceeds service capacity. • The message flow will be faster compared to other queue services like ActiveMq.
  • 6. So, let’s create our flow to expose a CXF web service by breaking the flow into 2 parts connected with VM components as follows :-
  • 7. You can see that we have used a set property after CXF component to store the method name which is actually SOAP action here as the message properties generally get lost if passed through a VM queue.
  • 8. Our Mule config will be following :- You can see in flow2 the SOAP action stored is provided as entry point for web service implementing java class
  • 9. Now, we can test our web service in SOAPUI and see that the web service is generating a response which means it is working perfectly
  • 10. So, if we are exposing a web service using VM endpoints the first thing we should keep in mind is to store the outbound properties of the message before sending the message to the VM outbound endpoint . The main reason of doing is to protect the properties and get it in our next flow, since a message may loose it’s outbound properties while passing through a VM.
  • 11. In my next slide I will bring some other techniques of implementing VM endpoint in our flow. Hope you have enjoyed this simpler version. Keep sharing your knowledge everywhere and let our mule community grow  So, Happy coding …