SlideShare uma empresa Scribd logo
1 de 15
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 stored procedure

Mais conteúdo relacionado

Mais procurados

Mulesoft idempotent Message Filter
Mulesoft idempotent Message FilterMulesoft idempotent Message Filter
Mulesoft idempotent Message Filterkumar gaurav
 
Using spring scheduler mule
Using spring scheduler muleUsing spring scheduler mule
Using spring scheduler muleSon Nguyen
 
Mule jms queues
Mule jms queuesMule jms queues
Mule jms queuesGandham38
 
Send email attachment using smtp in mule esb
Send email attachment using smtp in mule esbSend email attachment using smtp in mule esb
Send email attachment using smtp in mule esbPraneethchampion
 
Scatter and gather in mule
Scatter and gather in muleScatter and gather in mule
Scatter and gather in muleRajkattamuri
 
Web service vm in mule
Web service vm in muleWeb service vm in mule
Web service vm in muleMohammed246
 
Vm component in mule demo
Vm component in mule demoVm component in mule demo
Vm component in mule demoSudha Ch
 
Stored procedure in Mule
Stored procedure in MuleStored procedure in Mule
Stored procedure in MuleKhasim Saheb
 

Mais procurados (11)

Mulesoft idempotent Message Filter
Mulesoft idempotent Message FilterMulesoft idempotent Message Filter
Mulesoft idempotent Message Filter
 
Using spring scheduler mule
Using spring scheduler muleUsing spring scheduler mule
Using spring scheduler mule
 
Webservice vm in mule
Webservice vm in muleWebservice vm in mule
Webservice vm in mule
 
Mule quartz
Mule quartz Mule quartz
Mule quartz
 
Mule jms queues
Mule jms queuesMule jms queues
Mule jms queues
 
Send email attachment using smtp in mule esb
Send email attachment using smtp in mule esbSend email attachment using smtp in mule esb
Send email attachment using smtp in mule esb
 
Scatter and gather in mule
Scatter and gather in muleScatter and gather in mule
Scatter and gather in mule
 
Web service vm in mule
Web service vm in muleWeb service vm in mule
Web service vm in mule
 
Vm component in mule demo
Vm component in mule demoVm component in mule demo
Vm component in mule demo
 
Stored procedure in Mule
Stored procedure in MuleStored procedure in Mule
Stored procedure in Mule
 
Mule soap
Mule soapMule soap
Mule soap
 

Destaque

nơi nào làm clip quảng cáo bảo đảm
nơi nào làm clip quảng cáo bảo đảmnơi nào làm clip quảng cáo bảo đảm
nơi nào làm clip quảng cáo bảo đảmcolin524
 
Simple groovy example in mule
Simple groovy example in muleSimple groovy example in mule
Simple groovy example in mulejaveed_mhd
 
IV Simulacro de Sismo I.E.I. N° 054 "Nuestra Señora de la Paz" Pátapo
IV Simulacro de Sismo I.E.I. N° 054 "Nuestra Señora de la Paz" PátapoIV Simulacro de Sismo I.E.I. N° 054 "Nuestra Señora de la Paz" Pátapo
IV Simulacro de Sismo I.E.I. N° 054 "Nuestra Señora de la Paz" PátapoRosa Elizabeth Seclén Sialer
 
Reporte de Simulacro de Lluvias e inundaciones por el Fenómeno del Niño 31-08
Reporte de Simulacro de Lluvias e inundaciones por el Fenómeno del Niño 31-08Reporte de Simulacro de Lluvias e inundaciones por el Fenómeno del Niño 31-08
Reporte de Simulacro de Lluvias e inundaciones por el Fenómeno del Niño 31-08Rosa Elizabeth Seclén Sialer
 
Anestesia
AnestesiaAnestesia
AnestesiaSer Pal
 
Composición Química de los seres vivos.
Composición Química de los seres vivos.Composición Química de los seres vivos.
Composición Química de los seres vivos.Oswaldo A. Garibay
 
La reproducción2
La reproducción2La reproducción2
La reproducción2juanjofuro
 
El cerebro 2016 ari
El  cerebro 2016 ariEl  cerebro 2016 ari
El cerebro 2016 arijuanjofuro
 
Meiosis. Guía para 2º medio biología, basada en modelos
Meiosis. Guía para 2º medio biología, basada en modelosMeiosis. Guía para 2º medio biología, basada en modelos
Meiosis. Guía para 2º medio biología, basada en modelosHogar
 
098 133 se ciencias sociales 8 la epocas de las revoluciones-1776_1848_t_3
098 133 se ciencias sociales 8 la epocas de las revoluciones-1776_1848_t_3098 133 se ciencias sociales 8 la epocas de las revoluciones-1776_1848_t_3
098 133 se ciencias sociales 8 la epocas de las revoluciones-1776_1848_t_3Julian Enrique Almenares Campo
 
4. potencial de membrana y potencial de acción
4.  potencial de membrana y potencial de acción4.  potencial de membrana y potencial de acción
4. potencial de membrana y potencial de acciónLuis Miguel Castillo Ulloa
 

Destaque (18)

La piel
La pielLa piel
La piel
 
nơi nào làm clip quảng cáo bảo đảm
nơi nào làm clip quảng cáo bảo đảmnơi nào làm clip quảng cáo bảo đảm
nơi nào làm clip quảng cáo bảo đảm
 
Simple groovy example in mule
Simple groovy example in muleSimple groovy example in mule
Simple groovy example in mule
 
IV Simulacro de Sismo I.E.I. N° 054 "Nuestra Señora de la Paz" Pátapo
IV Simulacro de Sismo I.E.I. N° 054 "Nuestra Señora de la Paz" PátapoIV Simulacro de Sismo I.E.I. N° 054 "Nuestra Señora de la Paz" Pátapo
IV Simulacro de Sismo I.E.I. N° 054 "Nuestra Señora de la Paz" Pátapo
 
Prog. curri. anual 4º y 5º 2016
Prog. curri. anual  4º y 5º  2016Prog. curri. anual  4º y 5º  2016
Prog. curri. anual 4º y 5º 2016
 
Raices de los nervios espinales
Raices de los nervios espinalesRaices de los nervios espinales
Raices de los nervios espinales
 
Reporte de Simulacro de Lluvias e inundaciones por el Fenómeno del Niño 31-08
Reporte de Simulacro de Lluvias e inundaciones por el Fenómeno del Niño 31-08Reporte de Simulacro de Lluvias e inundaciones por el Fenómeno del Niño 31-08
Reporte de Simulacro de Lluvias e inundaciones por el Fenómeno del Niño 31-08
 
Anestesia
AnestesiaAnestesia
Anestesia
 
Composición Química de los seres vivos.
Composición Química de los seres vivos.Composición Química de los seres vivos.
Composición Química de los seres vivos.
 
Cabarmoxi
CabarmoxiCabarmoxi
Cabarmoxi
 
Conversión de trabajo en calor
Conversión de trabajo en calorConversión de trabajo en calor
Conversión de trabajo en calor
 
La reproducción2
La reproducción2La reproducción2
La reproducción2
 
Seminario de dermatosis bacterianas
Seminario de dermatosis bacterianasSeminario de dermatosis bacterianas
Seminario de dermatosis bacterianas
 
Los sueños
Los sueñosLos sueños
Los sueños
 
El cerebro 2016 ari
El  cerebro 2016 ariEl  cerebro 2016 ari
El cerebro 2016 ari
 
Meiosis. Guía para 2º medio biología, basada en modelos
Meiosis. Guía para 2º medio biología, basada en modelosMeiosis. Guía para 2º medio biología, basada en modelos
Meiosis. Guía para 2º medio biología, basada en modelos
 
098 133 se ciencias sociales 8 la epocas de las revoluciones-1776_1848_t_3
098 133 se ciencias sociales 8 la epocas de las revoluciones-1776_1848_t_3098 133 se ciencias sociales 8 la epocas de las revoluciones-1776_1848_t_3
098 133 se ciencias sociales 8 la epocas de las revoluciones-1776_1848_t_3
 
4. potencial de membrana y potencial de acción
4.  potencial de membrana y potencial de acción4.  potencial de membrana y potencial de acción
4. potencial de membrana y potencial de acción
 

Semelhante a Mule stored procedure

Stored procedure in mule
Stored procedure in muleStored procedure in mule
Stored procedure in muleManav Prasad
 
Stored procedure in mule
Stored procedure in muleStored procedure in mule
Stored procedure in muleSon Nguyen
 
Cache for community edition
Cache for community editionCache for community edition
Cache for community editionMohammed246
 
Cache for community edition
Cache for community edition Cache for community edition
Cache for community edition javeed_mhd
 
Cache for community edition
Cache for community editionCache for community edition
Cache for community editionF K
 
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 editionirfan1008
 
Cache for community edition
Cache for community editionCache for community edition
Cache for community editionHasan Syed
 
Cache for community edition
Cache for community editionCache for community edition
Cache for community editionSunil Komarapu
 
Deploy with maven
Deploy with mavenDeploy with maven
Deploy with mavenSon Nguyen
 
Deploying and running in mule standalone
Deploying and running in mule standaloneDeploying and running in mule standalone
Deploying and running in mule standaloneAbdulImrankhan7
 
Deploying and running in mule standalone
Deploying and running in mule standaloneDeploying and running in mule standalone
Deploying and running in mule standalonejaveed_mhd
 
Deploying and Running in Mule
Deploying and Running in MuleDeploying and Running in Mule
Deploying and Running in MuleKhasim Saheb
 
Deploying and running in mule standalone
Deploying and running in mule standaloneDeploying and running in mule standalone
Deploying and running in mule standaloneMohammed625
 
Webapplicationwithmule by nagarjuanreddy
Webapplicationwithmule by nagarjuanreddyWebapplicationwithmule by nagarjuanreddy
Webapplicationwithmule by nagarjuanreddyNagarjuna reddy
 

Semelhante a Mule stored procedure (20)

Stored procedure in mule
Stored procedure in muleStored procedure in mule
Stored procedure in mule
 
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 for community edition
Cache for community editionCache for community edition
Cache for community edition
 
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
 
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
 
Deploy with maven
Deploy with mavenDeploy with maven
Deploy with maven
 
Deploying and running in mule standalone
Deploying and running in mule standaloneDeploying and running in mule standalone
Deploying and running in mule standalone
 
Deploying and running in mule standalone
Deploying and running in mule standaloneDeploying and running in mule standalone
Deploying and running in mule standalone
 
Deploying and Running in Mule
Deploying and Running in MuleDeploying and Running in Mule
Deploying and Running in Mule
 
Deploying and running in mule standalone
Deploying and running in mule standaloneDeploying and running in mule standalone
Deploying and running in mule standalone
 
Webapplicationwithmule by nagarjuanreddy
Webapplicationwithmule by nagarjuanreddyWebapplicationwithmule by nagarjuanreddy
Webapplicationwithmule by nagarjuanreddy
 

Mais de AbdulImrankhan7

Mais de AbdulImrankhan7 (20)

Web services Overview in depth
Web services Overview in depthWeb services Overview in depth
Web services Overview in depth
 
Install sonarqube plugin
Install sonarqube plugin Install sonarqube plugin
Install sonarqube plugin
 
Junit in mule
Junit in muleJunit in mule
Junit in mule
 
commit a project in svn
commit a project in svncommit a project in svn
commit a project in svn
 
Github plugin setup in anypoint studio
Github plugin setup in anypoint studio Github plugin setup in anypoint studio
Github plugin setup in anypoint studio
 
For each component
For each component For each component
For each component
 
Filter expression
Filter expressionFilter expression
Filter expression
 
Mule File component
Mule File component Mule File component
Mule File component
 
Mule Database component
Mule Database component Mule Database component
Mule Database component
 
Mule Choice component
Mule Choice component Mule Choice component
Mule Choice component
 
Mule real-world
Mule real-worldMule real-world
Mule real-world
 
Mule Overview
Mule OverviewMule Overview
Mule Overview
 
Webservice with vm in mule
Webservice with vm in muleWebservice with vm in mule
Webservice with vm in mule
 
Validating a soap request in mule
Validating a soap request in mule Validating a soap request in mule
Validating a soap request in mule
 
Using xslt in mule
Using xslt in mule Using xslt in mule
Using xslt in mule
 
Simple groovy example in mule
Simple groovy example in muleSimple groovy example in mule
Simple groovy example in mule
 
Scatter gather flow control
Scatter gather flow control Scatter gather flow control
Scatter gather flow control
 
Mule with velocity
Mule with velocity Mule with velocity
Mule with velocity
 
Mule with rabbit mq
Mule with rabbit mqMule with rabbit mq
Mule with rabbit mq
 
Mule with quartz
Mule with quartz Mule with quartz
Mule with quartz
 

Último

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 

Último (20)

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 

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