SlideShare a Scribd company logo
Mule with Stored Procedure
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
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

PPTX
Stored procedure in Mule
PPTX
For each component in mule demo
PPTX
Webservice vm in mule
PPTX
Mule with stored procedure
PPTX
Database component in mule
PPTX
Send email attachment using smtp in mule esb
PPTX
Using mule with web services
PPTX
Calling database with groovy in mule
Stored procedure in Mule
For each component in mule demo
Webservice vm in mule
Mule with stored procedure
Database component in mule
Send email attachment using smtp in mule esb
Using mule with web services
Calling database with groovy in mule

What's hot (19)

PPTX
Deploying and Running in Mule
PPTX
Scatter gather in mule
PPTX
Mule soap
PPTX
Mule concepts connectors
PPT
Mule mule management console
PPTX
Quartz in Mule
PPTX
Using spring scheduler mule
PPTX
Mule jms queues
PPTX
Mule quartz
ODP
Mule maven
PPTX
Mulesoft vm transport reference
PPTX
Mule intelli j tips
PPTX
Runing batch job in mule
PPTX
Introduction to testing mule
PPTX
Mule data bases
PPTX
Mule esb :Data Weave
PPTX
Mule Microsoft Service Bus
PPTX
Scatter and gather in mule
PPTX
Scatter gather in mule
Deploying and Running in Mule
Scatter gather in mule
Mule soap
Mule concepts connectors
Mule mule management console
Quartz in Mule
Using spring scheduler mule
Mule jms queues
Mule quartz
Mule maven
Mulesoft vm transport reference
Mule intelli j tips
Runing batch job in mule
Introduction to testing mule
Mule data bases
Mule esb :Data Weave
Mule Microsoft Service Bus
Scatter and gather in mule
Scatter gather in mule
Ad

Viewers also liked (18)

PDF
LLB_ibotta_wrapup
PPTX
Mule validators
PPTX
Mule UDP Transport
PPTX
Building Innovative Applications: Two Companies Share Their Data Driven Strat...
PPTX
Mule ESB
PPTX
Reflections On The Value Proposition For Information Quality
PPTX
Mule anypoint platform
PPT
Mule compatible technologies
PPTX
Mule xml transformation
PPTX
An Introduction of Big data; Big data for beginners; Overview of Big Data; Bi...
PPT
MuleSoft Database Connector
PPTX
Operationalizing analytics to scale
PDF
Voxxed Days Thessaloniki 2016 - Microservices in production
PPTX
Web service lecture
PDF
Melbourne Business School - mba talk october 14 - croll - 40m - lean analytics
PDF
Lean Analytics for Startups and Enterprises
PPTX
Product Driven Growth from Lean Product Meetup
LLB_ibotta_wrapup
Mule validators
Mule UDP Transport
Building Innovative Applications: Two Companies Share Their Data Driven Strat...
Mule ESB
Reflections On The Value Proposition For Information Quality
Mule anypoint platform
Mule compatible technologies
Mule xml transformation
An Introduction of Big data; Big data for beginners; Overview of Big Data; Bi...
MuleSoft Database Connector
Operationalizing analytics to scale
Voxxed Days Thessaloniki 2016 - Microservices in production
Web service lecture
Melbourne Business School - mba talk october 14 - croll - 40m - lean analytics
Lean Analytics for Startups and Enterprises
Product Driven Growth from Lean Product Meetup
Ad

Similar to Mule with stored procedure (20)

PPTX
Stored procedure in mule
PPTX
Stored procedure in mule
PPTX
Community edition Cache
PPTX
Cache for community edition
PPTX
Cache community edition
PPTX
Cache for community edition
PPTX
Cache for community edition
PPTX
Cache for community edition
PPTX
Cache for community edition
 
PPTX
Cache for community edition
PPTX
Cache for community edition
PPTX
Cache for community edition
PPTX
Mule with stored procedure
PPTX
Cache for community edition
PPTX
Deploy with maven
PPTX
Deploying and running in mule standalone
PPTX
Deploying and running in mule standalone
PPTX
Deploying and running in mule standalone
PPTX
Webapplicationwithmule by nagarjuanreddy
PPTX
Running mule from java
Stored procedure in mule
Stored procedure in mule
Community edition Cache
Cache for 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
Mule with stored procedure
Cache for community edition
Deploy with maven
Deploying and running in mule standalone
Deploying and running in mule standalone
Deploying and running in mule standalone
Webapplicationwithmule by nagarjuanreddy
Running mule from java

More from javeed_mhd (20)

PPTX
For each component in mule
PPTX
Filter expression in mule
PPTX
File component in mule
PPTX
Database component in mule
PPTX
Choice component in mule
PPTX
Vm component in mule
PPTX
Until successful component in mule
PPTX
Quartz component in mule
PPTX
Mule management console installation
PPTX
Mule esb made system integration easy
PPTX
Message properties component in mule
PPTX
Junit in mule demo
PPTX
How to install sonarqube plugin in anypoint
PPTX
How to commit a project in svn using svn plugin in anypointstudio
PPTX
Mapping and listing with mule
PPT
Mule any point exchange
PPT
Mule esb api layer
PDF
Mule Maven Plugin
PPTX
Mule esb stripe
PPTX
Presentation
For each component in mule
Filter expression in mule
File component in mule
Database component in mule
Choice component in mule
Vm component in mule
Until successful component in mule
Quartz component in mule
Mule management console installation
Mule esb made system integration easy
Message properties component in mule
Junit in mule demo
How to install sonarqube plugin in anypoint
How to commit a project in svn using svn plugin in anypointstudio
Mapping and listing with mule
Mule any point exchange
Mule esb api layer
Mule Maven Plugin
Mule esb stripe
Presentation

Recently uploaded (20)

PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Approach and Philosophy of On baking technology
PPTX
Spectroscopy.pptx food analysis technology
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Encapsulation_ Review paper, used for researhc scholars
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Cloud computing and distributed systems.
PDF
cuic standard and advanced reporting.pdf
PDF
Machine learning based COVID-19 study performance prediction
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Electronic commerce courselecture one. Pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Approach and Philosophy of On baking technology
Spectroscopy.pptx food analysis technology
Programs and apps: productivity, graphics, security and other tools
Encapsulation_ Review paper, used for researhc scholars
The AUB Centre for AI in Media Proposal.docx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Diabetes mellitus diagnosis method based random forest with bat algorithm
Cloud computing and distributed systems.
cuic standard and advanced reporting.pdf
Machine learning based COVID-19 study performance prediction
Spectral efficient network and resource selection model in 5G networks
Unlocking AI with Model Context Protocol (MCP)
NewMind AI Weekly Chronicles - August'25 Week I
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
Chapter 3 Spatial Domain Image Processing.pdf
Electronic commerce courselecture one. Pdf

Mule with stored procedure

  • 1. Mule with Stored Procedure
  • 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. Creating a Store Procedure
  • 5. 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 :
  • 6. After our Stored Procedure has been created successfully we will test it in following way :-
  • 8. So, now we will try to call this Stored Procedure from our Mule application in following way :-
  • 9. The corresponding Mule flow in graphical will be as following:-
  • 11. 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 :-
  • 13. 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 !!!
  • 14. 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/