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/
Stored procedure in Mule

More Related Content

PPTX
Mule with stored procedure
PPTX
Groovy in Mule
PPTX
Soap request in mule
PPTX
Soap In Mule
PPTX
Mulesoft Using Groovy Component
PPTX
Caching and invalidating with managed store
PPTX
Using groovy in mule
PPTX
Accessing jms in mule using groovy
Mule with stored procedure
Groovy in Mule
Soap request in mule
Soap In Mule
Mulesoft Using Groovy Component
Caching and invalidating with managed store
Using groovy in mule
Accessing jms in mule using groovy

What's hot (11)

PPTX
Webservice vm in mule
PPTX
Send email attachment using smtp in mule esb
PPTX
Deploy apps in standalone with maven
PPTX
Mule message enricher
PPTX
Mule soap
PPTX
Filtering jms messages with mule
PPTX
Creating dynamic json in Mule
 
PPTX
Mule soap
PPTX
Timer Interceptor in Mule
PPTX
Scatter and gather in mule
PPTX
Mule quartz
Webservice vm in mule
Send email attachment using smtp in mule esb
Deploy apps in standalone with maven
Mule message enricher
Mule soap
Filtering jms messages with mule
Creating dynamic json in Mule
 
Mule soap
Timer Interceptor in Mule
Scatter and gather in mule
Mule quartz
Ad

Similar to Stored procedure in Mule (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
PPTX
Deploying and running in mule standalone
PPTX
Deploying and running in mule standalone
PPTX
Webapplicationwithmule by nagarjuanreddy
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
Deploying and running in mule standalone
Deploying and running in mule standalone
Webapplicationwithmule by nagarjuanreddy
Ad

More from Khasim Saheb (20)

PPT
Mule architecture
PPT
Mule anypoint exchange
PPTX
Mule soa
PPT
Mule security saml
PPT
Mule security jaas
PPTX
Mule integration with linkedin
PPTX
Mule for each scope headerc ollection
PPTX
Mule esb
PPTX
Mule esb stripe
PPT
Mule esb api layer
PPTX
PPTX
Mmc rest api user groups
PPTX
Mapping and listing with mule
PPTX
How to use message properties component
PPTX
How to use expression filter
PPTX
Data weave
PPT
Anypoint data gateway
PPTX
Creating dynamic json
PPTX
Converting with custom transforme
PPTX
Caching and invalidating with managed store
Mule architecture
Mule anypoint exchange
Mule soa
Mule security saml
Mule security jaas
Mule integration with linkedin
Mule for each scope headerc ollection
Mule esb
Mule esb stripe
Mule esb api layer
Mmc rest api user groups
Mapping and listing with mule
How to use message properties component
How to use expression filter
Data weave
Anypoint data gateway
Creating dynamic json
Converting with custom transforme
Caching and invalidating with managed store

Recently uploaded (20)

PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Encapsulation theory and applications.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Big Data Technologies - Introduction.pptx
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
MYSQL Presentation for SQL database connectivity
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
KodekX | Application Modernization Development
PDF
Empathic Computing: Creating Shared Understanding
PDF
NewMind AI Monthly Chronicles - July 2025
Chapter 3 Spatial Domain Image Processing.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Encapsulation theory and applications.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Spectral efficient network and resource selection model in 5G networks
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Big Data Technologies - Introduction.pptx
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Reach Out and Touch Someone: Haptics and Empathic Computing
MYSQL Presentation for SQL database connectivity
The Rise and Fall of 3GPP – Time for a Sabbatical?
Encapsulation_ Review paper, used for researhc scholars
Network Security Unit 5.pdf for BCA BBA.
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
KodekX | Application Modernization Development
Empathic Computing: Creating Shared Understanding
NewMind AI Monthly Chronicles - July 2025

Stored procedure in Mule

  • 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/