SlideShare a Scribd company logo
Stored Procedure in MULE
Manvendra Prasad
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/
Stored procedure in mule

More Related Content

What's hot

Cache for community edition
Cache for community editionCache for community edition
Cache for community edition
F K
 
Validating a soap request in mule
Validating a soap request in muleValidating a soap request in mule
Validating a soap request in mule
Anirban Sen Chowdhary
 
Mule with drools
Mule with droolsMule with drools
Mule with drools
F K
 
Intro to the Express Web Framework
Intro to the Express Web FrameworkIntro to the Express Web Framework
Intro to the Express Web Framework
jasonsich
 
Validate soap request in mule
Validate soap request in muleValidate soap request in mule
Validate soap request in mule
Mohammed246
 
Soap request in mule
Soap request in mule Soap request in mule
Soap request in mule
Praneethchampion
 
Soap in mule
Soap in muleSoap in mule
Soap in mule
D.Rajesh Kumar
 
Validate Soap Request in Mule
Validate Soap Request in MuleValidate Soap Request in Mule
Validate Soap Request in Mule
irfan1008
 
Web service vm in mule
Web service vm in muleWeb service vm in mule
Web service vm in mule
Mohammed246
 
Mule and web services
Mule and web servicesMule and web services
Mule and web services
Prabhat gangwar
 
Mule - logger
Mule -  loggerMule -  logger
Mule - logger
Ankush Sharma
 

What's hot (11)

Cache for community edition
Cache for community editionCache for community edition
Cache for community edition
 
Validating a soap request in mule
Validating a soap request in muleValidating a soap request in mule
Validating a soap request in mule
 
Mule with drools
Mule with droolsMule with drools
Mule with drools
 
Intro to the Express Web Framework
Intro to the Express Web FrameworkIntro to the Express Web Framework
Intro to the Express Web Framework
 
Validate soap request in mule
Validate soap request in muleValidate soap request in mule
Validate soap request in mule
 
Soap request in mule
Soap request in mule Soap request in mule
Soap request in mule
 
Soap in mule
Soap in muleSoap in mule
Soap in mule
 
Validate Soap Request in Mule
Validate Soap Request in MuleValidate Soap Request in Mule
Validate Soap Request in Mule
 
Web service vm in mule
Web service vm in muleWeb service vm in mule
Web service vm in mule
 
Mule and web services
Mule and web servicesMule and web services
Mule and web services
 
Mule - logger
Mule -  loggerMule -  logger
Mule - logger
 

Viewers also liked

Stock Repurchases aka Share Buybacks for US Firms
Stock Repurchases aka Share Buybacks for US FirmsStock Repurchases aka Share Buybacks for US Firms
Stock Repurchases aka Share Buybacks for US Firms
Pranav Ghai
 
graphics
graphicsgraphics
graphics
hwells2101
 
Vishal Kataria_CV
Vishal Kataria_CVVishal Kataria_CV
Vishal Kataria_CV
Vishal Kataria
 
Module 4 math jeopardy
Module 4 math jeopardyModule 4 math jeopardy
Module 4 math jeopardy
Allisonelaineelaine
 
pruvit_rewards_gameplan
pruvit_rewards_gameplanpruvit_rewards_gameplan
pruvit_rewards_gameplan
Jerry Giebeig
 
2015_12 BayCHI Welcome Slides
2015_12 BayCHI Welcome Slides2015_12 BayCHI Welcome Slides
2015_12 BayCHI Welcome Slides
Stacie Hibino
 
Header collection
Header collectionHeader collection
Header collection
Manav Prasad
 
The FIL the Void Scholarship Program
The FIL the Void Scholarship Program The FIL the Void Scholarship Program
The FIL the Void Scholarship Program
Stephen J Izzi
 
Ucan
UcanUcan
sue wass V2.0
sue wass V2.0sue wass V2.0
sue wass V2.0
Sue Wass
 
ypDisplay Pitch Deck
ypDisplay Pitch DeckypDisplay Pitch Deck
ypDisplay Pitch Deck
Sarah Smith
 
IB final
IB finalIB final
IB final
Colton Goertzen
 
презентація + дес. дроб. онищенко
презентація +  дес. дроб. онищенкопрезентація +  дес. дроб. онищенко
презентація + дес. дроб. онищенко
novoarhnvk1
 
Insights ROI of Social Selling
Insights ROI of Social SellingInsights ROI of Social Selling
Insights ROI of Social Selling
Melody Mileski
 
JerryPallante
JerryPallanteJerryPallante
JerryPallante
Jerry Pallante
 
AVP Goes Green_Sydney Lindblad
AVP Goes Green_Sydney LindbladAVP Goes Green_Sydney Lindblad
AVP Goes Green_Sydney Lindblad
Sydney Lindblad
 
My vacation ortega tolima
My vacation ortega tolimaMy vacation ortega tolima
My vacation ortega tolima
Emiliano Robayo Yara
 
свойства функции
свойства функциисвойства функции
свойства функции
Tatyana Zubareva
 

Viewers also liked (18)

Stock Repurchases aka Share Buybacks for US Firms
Stock Repurchases aka Share Buybacks for US FirmsStock Repurchases aka Share Buybacks for US Firms
Stock Repurchases aka Share Buybacks for US Firms
 
graphics
graphicsgraphics
graphics
 
Vishal Kataria_CV
Vishal Kataria_CVVishal Kataria_CV
Vishal Kataria_CV
 
Module 4 math jeopardy
Module 4 math jeopardyModule 4 math jeopardy
Module 4 math jeopardy
 
pruvit_rewards_gameplan
pruvit_rewards_gameplanpruvit_rewards_gameplan
pruvit_rewards_gameplan
 
2015_12 BayCHI Welcome Slides
2015_12 BayCHI Welcome Slides2015_12 BayCHI Welcome Slides
2015_12 BayCHI Welcome Slides
 
Header collection
Header collectionHeader collection
Header collection
 
The FIL the Void Scholarship Program
The FIL the Void Scholarship Program The FIL the Void Scholarship Program
The FIL the Void Scholarship Program
 
Ucan
UcanUcan
Ucan
 
sue wass V2.0
sue wass V2.0sue wass V2.0
sue wass V2.0
 
ypDisplay Pitch Deck
ypDisplay Pitch DeckypDisplay Pitch Deck
ypDisplay Pitch Deck
 
IB final
IB finalIB final
IB final
 
презентація + дес. дроб. онищенко
презентація +  дес. дроб. онищенкопрезентація +  дес. дроб. онищенко
презентація + дес. дроб. онищенко
 
Insights ROI of Social Selling
Insights ROI of Social SellingInsights ROI of Social Selling
Insights ROI of Social Selling
 
JerryPallante
JerryPallanteJerryPallante
JerryPallante
 
AVP Goes Green_Sydney Lindblad
AVP Goes Green_Sydney LindbladAVP Goes Green_Sydney Lindblad
AVP Goes Green_Sydney Lindblad
 
My vacation ortega tolima
My vacation ortega tolimaMy vacation ortega tolima
My vacation ortega tolima
 
свойства функции
свойства функциисвойства функции
свойства функции
 

Similar to Stored procedure in mule

Mule with stored procedure
Mule with stored procedureMule with stored procedure
Mule with stored procedure
javeed_mhd
 
Mule with stored procedure
Mule with stored procedureMule with stored procedure
Mule with stored procedure
Mohammed625
 
Mule stored procedure
Mule stored procedureMule stored procedure
Mule stored procedure
AbdulImrankhan7
 
Mule with stored procedure
Mule with stored procedureMule with stored procedure
Mule with stored procedure
mdfkhan625
 
Stored procedure in mule
Stored procedure in muleStored procedure in mule
Stored procedure in mule
Son Nguyen
 
Cache for community edition
Cache for community editionCache for community edition
Cache for community edition
Mohammed246
 
Cache for community edition
Cache for community edition Cache for community edition
Cache for community edition
javeed_mhd
 
Community edition Cache
Community edition CacheCommunity edition Cache
Community edition Cache
Praneethchampion
 
Cache community edition
Cache community edition Cache community edition
Cache community edition
AbdulImrankhan7
 
Cache for community edition
Cache for community edition Cache for community edition
Cache for community edition
mdfkhan625
 
Cache for community edition
Cache for community edition Cache for community edition
Cache for community edition
Khasim Saheb
 
Cache for community edition
Cache for community editionCache for community edition
Cache for community edition
Hasan Syed
 
Cache for community edition
Cache for community editionCache for community edition
Cache for community edition
Sunil Komarapu
 
Mule with stored procedure
Mule with stored procedureMule with stored procedure
Mule with stored procedure
Anirban Sen Chowdhary
 
Cache for community edition
Cache for community editionCache for community edition
Cache for community edition
Anirban Sen Chowdhary
 
Schedule and monitor in mule
Schedule and monitor in muleSchedule and monitor in mule
Schedule and monitor in mule
Son Nguyen
 
Webapplicationwithmule by nagarjuanreddy
Webapplicationwithmule by nagarjuanreddyWebapplicationwithmule by nagarjuanreddy
Webapplicationwithmule by nagarjuanreddy
Nagarjuna reddy
 
Deploy with maven
Deploy with mavenDeploy with maven
Deploy with maven
Son Nguyen
 
Using spring scheduler mule
Using spring scheduler muleUsing spring scheduler mule
Using spring scheduler mule
Son Nguyen
 
Using spring task scheduler in java in mule
Using spring task scheduler in java in muleUsing spring task scheduler in java in mule
Using spring task scheduler in java in mule
Anirban Sen Chowdhary
 

Similar to Stored procedure in mule (20)

Mule with stored procedure
Mule with stored procedureMule with stored procedure
Mule with stored procedure
 
Mule with stored procedure
Mule with stored procedureMule with stored procedure
Mule with stored procedure
 
Mule stored procedure
Mule stored procedureMule stored procedure
Mule stored procedure
 
Mule with stored procedure
Mule with stored procedureMule with stored procedure
Mule with stored procedure
 
Stored procedure in mule
Stored procedure in muleStored procedure in mule
Stored procedure in mule
 
Cache for community edition
Cache for community editionCache for community edition
Cache for community edition
 
Cache for community edition
Cache for community edition Cache for community edition
Cache for community edition
 
Community edition Cache
Community edition CacheCommunity edition Cache
Community edition Cache
 
Cache community edition
Cache community edition Cache community edition
Cache community edition
 
Cache for community edition
Cache for community edition Cache for community edition
Cache for community edition
 
Cache for community edition
Cache for community edition Cache for community edition
Cache for community edition
 
Cache for community edition
Cache for community editionCache for community edition
Cache for community edition
 
Cache for community edition
Cache for community editionCache for community edition
Cache for community edition
 
Mule with stored procedure
Mule with stored procedureMule with stored procedure
Mule with stored procedure
 
Cache for community edition
Cache for community editionCache for community edition
Cache for community edition
 
Schedule and monitor in mule
Schedule and monitor in muleSchedule and monitor in mule
Schedule and monitor in mule
 
Webapplicationwithmule by nagarjuanreddy
Webapplicationwithmule by nagarjuanreddyWebapplicationwithmule by nagarjuanreddy
Webapplicationwithmule by nagarjuanreddy
 
Deploy with maven
Deploy with mavenDeploy with maven
Deploy with maven
 
Using spring scheduler mule
Using spring scheduler muleUsing spring scheduler mule
Using spring scheduler mule
 
Using spring task scheduler in java in mule
Using spring task scheduler in java in muleUsing spring task scheduler in java in mule
Using spring task scheduler in java in mule
 

More from Manav Prasad

Experience with mulesoft
Experience with mulesoftExperience with mulesoft
Experience with mulesoft
Manav Prasad
 
Mulesoftconnectors
MulesoftconnectorsMulesoftconnectors
Mulesoftconnectors
Manav Prasad
 
Mule and web services
Mule and web servicesMule and web services
Mule and web services
Manav Prasad
 
Mulesoft cloudhub
Mulesoft cloudhubMulesoft cloudhub
Mulesoft cloudhub
Manav Prasad
 
Perl tutorial
Perl tutorialPerl tutorial
Perl tutorial
Manav Prasad
 
Hibernate presentation
Hibernate presentationHibernate presentation
Hibernate presentation
Manav Prasad
 
Jpa
JpaJpa
Spring introduction
Spring introductionSpring introduction
Spring introduction
Manav Prasad
 
Json
Json Json
The spring framework
The spring frameworkThe spring framework
The spring framework
Manav Prasad
 
Rest introduction
Rest introductionRest introduction
Rest introduction
Manav Prasad
 
Exceptions in java
Exceptions in javaExceptions in java
Exceptions in java
Manav Prasad
 
Junit
JunitJunit
Xml parsers
Xml parsersXml parsers
Xml parsers
Manav Prasad
 
Xpath
XpathXpath
Xslt
XsltXslt
Xhtml
XhtmlXhtml
Css
CssCss
Introduction to html5
Introduction to html5Introduction to html5
Introduction to html5
Manav Prasad
 
Ajax
AjaxAjax

More from Manav Prasad (20)

Experience with mulesoft
Experience with mulesoftExperience with mulesoft
Experience with mulesoft
 
Mulesoftconnectors
MulesoftconnectorsMulesoftconnectors
Mulesoftconnectors
 
Mule and web services
Mule and web servicesMule and web services
Mule and web services
 
Mulesoft cloudhub
Mulesoft cloudhubMulesoft cloudhub
Mulesoft cloudhub
 
Perl tutorial
Perl tutorialPerl tutorial
Perl tutorial
 
Hibernate presentation
Hibernate presentationHibernate presentation
Hibernate presentation
 
Jpa
JpaJpa
Jpa
 
Spring introduction
Spring introductionSpring introduction
Spring introduction
 
Json
Json Json
Json
 
The spring framework
The spring frameworkThe spring framework
The spring framework
 
Rest introduction
Rest introductionRest introduction
Rest introduction
 
Exceptions in java
Exceptions in javaExceptions in java
Exceptions in java
 
Junit
JunitJunit
Junit
 
Xml parsers
Xml parsersXml parsers
Xml parsers
 
Xpath
XpathXpath
Xpath
 
Xslt
XsltXslt
Xslt
 
Xhtml
XhtmlXhtml
Xhtml
 
Css
CssCss
Css
 
Introduction to html5
Introduction to html5Introduction to html5
Introduction to html5
 
Ajax
AjaxAjax
Ajax
 

Recently uploaded

Pressure Relief valve used in flow line to release the over pressure at our d...
Pressure Relief valve used in flow line to release the over pressure at our d...Pressure Relief valve used in flow line to release the over pressure at our d...
Pressure Relief valve used in flow line to release the over pressure at our d...
cannyengineerings
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
smart pill dispenser is designed to improve medication adherence and safety f...
smart pill dispenser is designed to improve medication adherence and safety f...smart pill dispenser is designed to improve medication adherence and safety f...
smart pill dispenser is designed to improve medication adherence and safety f...
um7474492
 
Supermarket Management System Project Report.pdf
Supermarket Management System Project Report.pdfSupermarket Management System Project Report.pdf
Supermarket Management System Project Report.pdf
Kamal Acharya
 
5G Radio Network Througput Problem Analysis HCIA.pdf
5G Radio Network Througput Problem Analysis HCIA.pdf5G Radio Network Througput Problem Analysis HCIA.pdf
5G Radio Network Througput Problem Analysis HCIA.pdf
AlvianRamadhani5
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
ydzowc
 
Object Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOADObject Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOAD
PreethaV16
 
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
Paris Salesforce Developer Group
 
Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
Roger Rozario
 
Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
Atif Razi
 
5g-5G SA reg. -standalone-access-registration.pdf
5g-5G SA reg. -standalone-access-registration.pdf5g-5G SA reg. -standalone-access-registration.pdf
5g-5G SA reg. -standalone-access-registration.pdf
devtomar25
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
uqyfuc
 
SCALING OF MOS CIRCUITS m .pptx
SCALING OF MOS CIRCUITS m                 .pptxSCALING OF MOS CIRCUITS m                 .pptx
SCALING OF MOS CIRCUITS m .pptx
harshapolam10
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
shadow0702a
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
RamonNovais6
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
UReason
 
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
PriyankaKilaniya
 
Introduction to verilog basic modeling .ppt
Introduction to verilog basic modeling   .pptIntroduction to verilog basic modeling   .ppt
Introduction to verilog basic modeling .ppt
AmitKumar730022
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
PKavitha10
 
Generative AI Use cases applications solutions and implementation.pdf
Generative AI Use cases applications solutions and implementation.pdfGenerative AI Use cases applications solutions and implementation.pdf
Generative AI Use cases applications solutions and implementation.pdf
mahaffeycheryld
 

Recently uploaded (20)

Pressure Relief valve used in flow line to release the over pressure at our d...
Pressure Relief valve used in flow line to release the over pressure at our d...Pressure Relief valve used in flow line to release the over pressure at our d...
Pressure Relief valve used in flow line to release the over pressure at our d...
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
smart pill dispenser is designed to improve medication adherence and safety f...
smart pill dispenser is designed to improve medication adherence and safety f...smart pill dispenser is designed to improve medication adherence and safety f...
smart pill dispenser is designed to improve medication adherence and safety f...
 
Supermarket Management System Project Report.pdf
Supermarket Management System Project Report.pdfSupermarket Management System Project Report.pdf
Supermarket Management System Project Report.pdf
 
5G Radio Network Througput Problem Analysis HCIA.pdf
5G Radio Network Througput Problem Analysis HCIA.pdf5G Radio Network Througput Problem Analysis HCIA.pdf
5G Radio Network Througput Problem Analysis HCIA.pdf
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
 
Object Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOADObject Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOAD
 
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
 
Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
 
Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
 
5g-5G SA reg. -standalone-access-registration.pdf
5g-5G SA reg. -standalone-access-registration.pdf5g-5G SA reg. -standalone-access-registration.pdf
5g-5G SA reg. -standalone-access-registration.pdf
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
 
SCALING OF MOS CIRCUITS m .pptx
SCALING OF MOS CIRCUITS m                 .pptxSCALING OF MOS CIRCUITS m                 .pptx
SCALING OF MOS CIRCUITS m .pptx
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
 
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
 
Introduction to verilog basic modeling .ppt
Introduction to verilog basic modeling   .pptIntroduction to verilog basic modeling   .ppt
Introduction to verilog basic modeling .ppt
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
 
Generative AI Use cases applications solutions and implementation.pdf
Generative AI Use cases applications solutions and implementation.pdfGenerative AI Use cases applications solutions and implementation.pdf
Generative AI Use cases applications solutions and implementation.pdf
 

Stored procedure in mule

  • 1. Stored Procedure in MULE Manvendra Prasad
  • 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/