SlideShare a Scribd company logo
Mule with Stored Procedure
Feroz Khan
Mule's database component allows us to connect with almost
any Java Database Connectivity (JDBC) relational database
and it has wonderful capabilities to perform various
functionalities and run diverse SQL operations on our
database, including Select, Insert, Update, Delete, and even
Stored Procedures.
We will have a look here on how to use Stored Procedures
with our Mule database component. So, before we start
using Stored Procedures in our Mule, we will create a Stored
Procedures in the database and then call to from our Mule
application.
Creating a Store Procedure
So, we will get into our database and create a Stored Procedures
there. In our case we will use MS SQL.
Let's create Stored Procedure by following way :
After our Stored Procedure has been created successfully we will
test it in following way :-
Stored Procedure with Mule
So, now we will try to call this Stored Procedure from our Mule
application in following way :-
The corresponding Mule flow in graphical will be as following:-
Testing our application ……
Now, we are done with our coding and will deploy our application
and test it.
So, now if we will hit the url :- http://localhost:8081/test/test in
browser, we will get the following result in Mule console :-
Conclusion
As we can see it's very simple to call any Stored Procedure from
our Mule application as the database component of Mule supports
diverse SQL operations and Stored Procedures on our Database.
That's all !!! I've hopefully been clear enough in displaying the
implementation of database component and calling Stored
Procedure from our Mule application.
I hope you liked this !!!
Hope you enjoyed the simple yet an amazing trick in Mule
You can also find this post here :- http://bushorn.com/mule-with-
stored-procedure/
Mule with stored procedure

More Related Content

What's hot (12)

PPTX
Mule soap
D.Rajesh Kumar
 
PPTX
Mule java part-1
Karnam Karthik
 
PPTX
Scatter and gather in mule
Rajkattamuri
 
PPTX
Soap request in mule
Praneethchampion
 
PPTX
Using spring task scheduler in java in mule
Anirban Sen Chowdhary
 
PPTX
Xml to xml transformation in mule
Rajkattamuri
 
PPTX
Mule jms queues
Gandham38
 
PPTX
Groovy in Mule
Praneethchampion
 
PPTX
Mule quartz
Praneethchampion
 
PPTX
Accessing jms in mule using groovy
Anirban Sen Chowdhary
 
PPTX
Quartz in Mule
Mohammed246
 
PPTX
Web service vm in mule
Mohammed246
 
Mule soap
D.Rajesh Kumar
 
Mule java part-1
Karnam Karthik
 
Scatter and gather in mule
Rajkattamuri
 
Soap request in mule
Praneethchampion
 
Using spring task scheduler in java in mule
Anirban Sen Chowdhary
 
Xml to xml transformation in mule
Rajkattamuri
 
Mule jms queues
Gandham38
 
Groovy in Mule
Praneethchampion
 
Mule quartz
Praneethchampion
 
Accessing jms in mule using groovy
Anirban Sen Chowdhary
 
Quartz in Mule
Mohammed246
 
Web service vm in mule
Mohammed246
 

Viewers also liked (20)

PDF
MailToTicket - Presentació final de projecte
Ángel Aguilera
 
PPTX
Esquiada 2016 Institut de Gurb
sesgurb
 
PPT
Mulesoft Filters
mdfkhan625
 
PDF
26 funcao das_camadas_do_modelo_osi
Jobert Abrahão
 
PPTX
Trust Enablers in the Investmentchain of SBEs - By Gibbernak
Carsten Høegh Bovbjerg
 
PDF
Mule esb teste parte 1
Jeison Barros
 
PPTX
Mule esb
vishnukanthro45
 
PPT
Eσκιμώοι
5odimkat
 
PPTX
Summer School: Achievements and Applications of Contemporary Informatics, Mat...
YSF-2015
 
PPTX
Mule concepts elements in a mule flow
kunal vishe
 
PDF
¿Cómo estudiar un paciente en que el Ecocardiograma detecta Hipertensión Pulm...
Sociedad Española de Cardiología
 
PPTX
Projectes d'Indagació i Projectes Interdisciplinaris. ABP per a la Competènci...
jdomen44
 
PPTX
Asis2013
SaludPublicaFarmacia
 
PPTX
Mule concepts components
kunal vishe
 
PPTX
ηπα (αμερικη)
Chrysa Arabatzoglou
 
PDF
Hipertensión pulmonar
Jaime Cruz
 
PPTX
Region x
joechloe31
 
PPTX
Flows in mule
Sindhu VL
 
MailToTicket - Presentació final de projecte
Ángel Aguilera
 
Esquiada 2016 Institut de Gurb
sesgurb
 
Mulesoft Filters
mdfkhan625
 
26 funcao das_camadas_do_modelo_osi
Jobert Abrahão
 
Trust Enablers in the Investmentchain of SBEs - By Gibbernak
Carsten Høegh Bovbjerg
 
Mule esb teste parte 1
Jeison Barros
 
Mule esb
vishnukanthro45
 
Eσκιμώοι
5odimkat
 
Summer School: Achievements and Applications of Contemporary Informatics, Mat...
YSF-2015
 
Mule concepts elements in a mule flow
kunal vishe
 
¿Cómo estudiar un paciente en que el Ecocardiograma detecta Hipertensión Pulm...
Sociedad Española de Cardiología
 
Projectes d'Indagació i Projectes Interdisciplinaris. ABP per a la Competènci...
jdomen44
 
Mule concepts components
kunal vishe
 
ηπα (αμερικη)
Chrysa Arabatzoglou
 
Hipertensión pulmonar
Jaime Cruz
 
Region x
joechloe31
 
Flows in mule
Sindhu VL
 
Ad

Similar to Mule with stored procedure (20)

PPTX
Mule with stored procedure
javeed_mhd
 
PPTX
Mule stored procedure
AbdulImrankhan7
 
PPTX
Mule with stored procedure
Mohammed625
 
PPTX
Stored procedure in mule
Manav Prasad
 
PPTX
Stored procedure in mule
Son Nguyen
 
PPTX
Community edition Cache
Praneethchampion
 
PPTX
Cache for community edition
Khasim Saheb
 
PPTX
Cache for community edition
F K
 
PPTX
Cache for community edition
Mohammed246
 
PPTX
Cache for community edition
javeed_mhd
 
PPTX
Cache community edition
AbdulImrankhan7
 
PPTX
Cache for community edition
mdfkhan625
 
PPTX
Cache for community edition
irfan1008
 
PPTX
Cache for community edition
Hasan Syed
 
PPTX
Cache for community edition
Sunil Komarapu
 
PPTX
Cache for community edition
Anirban Sen Chowdhary
 
PPTX
Mule with stored procedure
Anirban Sen Chowdhary
 
PPTX
Deploy with maven
Son Nguyen
 
PPTX
Webapplicationwithmule by nagarjuanreddy
Nagarjuna reddy
 
PPTX
Running mule from java
Anirban Sen Chowdhary
 
Mule with stored procedure
javeed_mhd
 
Mule stored procedure
AbdulImrankhan7
 
Mule with stored procedure
Mohammed625
 
Stored procedure in mule
Manav Prasad
 
Stored procedure in mule
Son Nguyen
 
Community edition Cache
Praneethchampion
 
Cache for community edition
Khasim Saheb
 
Cache for community edition
F K
 
Cache for community edition
Mohammed246
 
Cache for community edition
javeed_mhd
 
Cache community edition
AbdulImrankhan7
 
Cache for community edition
mdfkhan625
 
Cache for community edition
irfan1008
 
Cache for community edition
Hasan Syed
 
Cache for community edition
Sunil Komarapu
 
Cache for community edition
Anirban Sen Chowdhary
 
Mule with stored procedure
Anirban Sen Chowdhary
 
Deploy with maven
Son Nguyen
 
Webapplicationwithmule by nagarjuanreddy
Nagarjuna reddy
 
Running mule from java
Anirban Sen Chowdhary
 
Ad

More from mdfkhan625 (20)

PPTX
Mapping and listing with mule
mdfkhan625
 
PPTX
How to use message properties component
mdfkhan625
 
PPTX
How to use expression filter
mdfkhan625
 
PPTX
Data weave
mdfkhan625
 
PPT
Anypoint data gateway
mdfkhan625
 
PPTX
Webservice with vm in mule
mdfkhan625
 
PPTX
Validating soap request in mule
mdfkhan625
 
PPTX
Using xslt in mule
mdfkhan625
 
PPTX
Groovy example in mule
mdfkhan625
 
PPTX
Scatter gather flow control
mdfkhan625
 
PPTX
Mule with velocity
mdfkhan625
 
PPTX
Mule with rabbit mq
mdfkhan625
 
PPTX
Mule with quartz
mdfkhan625
 
PPTX
Mule with drools
mdfkhan625
 
PPTX
Mule esb
mdfkhan625
 
PPTX
Idempotent filter with simple file
mdfkhan625
 
PPTX
Creating dynamic json
mdfkhan625
 
PPTX
Converting with custom transformer
mdfkhan625
 
PPTX
Caching and invalidating with managed store
mdfkhan625
 
PPTX
Automatic documantation with mule
mdfkhan625
 
Mapping and listing with mule
mdfkhan625
 
How to use message properties component
mdfkhan625
 
How to use expression filter
mdfkhan625
 
Data weave
mdfkhan625
 
Anypoint data gateway
mdfkhan625
 
Webservice with vm in mule
mdfkhan625
 
Validating soap request in mule
mdfkhan625
 
Using xslt in mule
mdfkhan625
 
Groovy example in mule
mdfkhan625
 
Scatter gather flow control
mdfkhan625
 
Mule with velocity
mdfkhan625
 
Mule with rabbit mq
mdfkhan625
 
Mule with quartz
mdfkhan625
 
Mule with drools
mdfkhan625
 
Mule esb
mdfkhan625
 
Idempotent filter with simple file
mdfkhan625
 
Creating dynamic json
mdfkhan625
 
Converting with custom transformer
mdfkhan625
 
Caching and invalidating with managed store
mdfkhan625
 
Automatic documantation with mule
mdfkhan625
 

Recently uploaded (20)

PDF
Market Wrap for 18th July 2025 by CIFDAQ
CIFDAQ
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PPTX
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
PDF
How Current Advanced Cyber Threats Transform Business Operation
Eryk Budi Pratama
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PDF
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
PPTX
Earn Agentblazer Status with Slack Community Patna.pptx
SanjeetMishra29
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
OpenInfra ID 2025 - Are Containers Dying? Rethinking Isolation with MicroVMs.pdf
Muhammad Yuga Nugraha
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PPTX
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PPTX
python advanced data structure dictionary with examples python advanced data ...
sprasanna11
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PDF
Per Axbom: The spectacular lies of maps
Nexer Digital
 
PDF
Market Insight : ETH Dominance Returns
CIFDAQ
 
PDF
introduction to computer hardware and sofeware
chauhanshraddha2007
 
Market Wrap for 18th July 2025 by CIFDAQ
CIFDAQ
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
How Current Advanced Cyber Threats Transform Business Operation
Eryk Budi Pratama
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
Earn Agentblazer Status with Slack Community Patna.pptx
SanjeetMishra29
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
OpenInfra ID 2025 - Are Containers Dying? Rethinking Isolation with MicroVMs.pdf
Muhammad Yuga Nugraha
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
python advanced data structure dictionary with examples python advanced data ...
sprasanna11
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
The Future of Artificial Intelligence (AI)
Mukul
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Per Axbom: The spectacular lies of maps
Nexer Digital
 
Market Insight : ETH Dominance Returns
CIFDAQ
 
introduction to computer hardware and sofeware
chauhanshraddha2007
 

Mule with stored procedure

  • 1. Mule with Stored Procedure Feroz Khan
  • 2. Mule's database component allows us to connect with almost any Java Database Connectivity (JDBC) relational database and it has wonderful capabilities to perform various functionalities and run diverse SQL operations on our database, including Select, Insert, Update, Delete, and even Stored Procedures. We will have a look here on how to use Stored Procedures with our Mule database component. So, before we start using Stored Procedures in our Mule, we will create a Stored Procedures in the database and then call to from our Mule application.
  • 3. Creating a Store Procedure
  • 4. So, we will get into our database and create a Stored Procedures there. In our case we will use MS SQL. Let's create Stored Procedure by following way :
  • 5. After our Stored Procedure has been created successfully we will test it in following way :-
  • 7. So, now we will try to call this Stored Procedure from our Mule application in following way :-
  • 8. The corresponding Mule flow in graphical will be as following:-
  • 10. Now, we are done with our coding and will deploy our application and test it. So, now if we will hit the url :- http://localhost:8081/test/test in browser, we will get the following result in Mule console :-
  • 12. As we can see it's very simple to call any Stored Procedure from our Mule application as the database component of Mule supports diverse SQL operations and Stored Procedures on our Database. That's all !!! I've hopefully been clear enough in displaying the implementation of database component and calling Stored Procedure from our Mule application. I hope you liked this !!!
  • 13. Hope you enjoyed the simple yet an amazing trick in Mule You can also find this post here :- http://bushorn.com/mule-with- stored-procedure/