Mule ESB
How to make CRUD operations to a MySql Database
Let’s assume you have a fully configured MySql instance in local environment, and you can
access to phpmyadmin administration tool.
As a first step, we will be creating a flow with a configured database instance:
Now let’s making a select query on our db administration tool to check the data already
present on the db:
Having done this, we’re now ready to configure the mule component in order to write some
new data on the database:
Let’s start the server and point our browser to the configured url to trigger the flow,
The output on console should be something like this:
[[db_test].HTTP_Listener_Configuration.worker.0
1]
org.mule.api.processor.LoggerMessageProcessor:
1
The «1» in the payload is a boolean value saying that everything was ok!
So, we are ready to show the inserted record:
As you can see, we have now our record!
Our next goal is to delete our newly created record. To do it, configure the db component in
this way:
Let’s start the server and point our browser to the
configured url to trigger the flow,
The output on console should be something like this:
[[db_test].HTTP_Listener_Configuration.worker.0
1]
org.mule.api.processor.LoggerMessageProcessor:
1
The «1» in the payload, again, is a boolean value saying
that everything was ok!
So, we are ready to show the the user table:
Enjoy with the MULE!

More Related Content

PPTX
Mule esb db_1
PPTX
Compress and decompress
PPTX
Input and output flow using http and java component
PPTX
Encrypting/Decrypting mule
PPTX
Mule esb How to convert from CSV to Json in 5 minutes
PPTX
Compressing & decompressing in mule
PPTX
Caching and invalidating with managed store
PPTX
Simple groovy example in mule
Mule esb db_1
Compress and decompress
Input and output flow using http and java component
Encrypting/Decrypting mule
Mule esb How to convert from CSV to Json in 5 minutes
Compressing & decompressing in mule
Caching and invalidating with managed store
Simple groovy example in mule

What's hot (14)

PPTX
Accessing Mule variables in groovy
PPTX
Groovy example in mule
PPTX
Groovy with Mule
PPTX
Input and output flow using file and logger component
PPTX
Groovy in Mule
PPTX
บทที่3
PPTX
Introduction to node.js
PPTX
Mule esb :Data Weave
PPTX
Nodejs Session01
PPTX
Process file one after another
PPTX
Converting with custom transformer
 
PPTX
Parameters as a part of body
PPT
Automating your plugin with WP-Cron
PPTX
Accessing jms in mule using groovy
Accessing Mule variables in groovy
Groovy example in mule
Groovy with Mule
Input and output flow using file and logger component
Groovy in Mule
บทที่3
Introduction to node.js
Mule esb :Data Weave
Nodejs Session01
Process file one after another
Converting with custom transformer
 
Parameters as a part of body
Automating your plugin with WP-Cron
Accessing jms in mule using groovy
Ad

Viewers also liked (10)

DOCX
Listado documentacion
PDF
Mapa sena
PPTX
870 poštovanje drugih u online svijetu
PPTX
Technology Powerpoint
PPS
Bureaux google
PPTX
Autobiografia
PPTX
Cow Farts are No Laughing Matter
PPTX
Opthalmoscopy
Listado documentacion
Mapa sena
870 poštovanje drugih u online svijetu
Technology Powerpoint
Bureaux google
Autobiografia
Cow Farts are No Laughing Matter
Opthalmoscopy
Ad

Similar to Mule esb db_2 (20)

PPTX
Mule esb - How to make CRUD operations to a MySql Database in 5 minutes
PPTX
Mule esb - How to connect to a MySql Database in 5 minutes
PPTX
Muleesbcomponents1 160625154208
PPTX
Mule data bases
PPTX
Integrate with database by groovy
PPTX
Mule connectors-part 1
PPTX
Mule ESB Components
DOCX
Mule with jdbc(my sql)
PPTX
Calling database with groovy in mule
PPTX
Mule connectors-session1
PPTX
Database Access in mule ESB
PDF
MySQL Document Store
PPTX
MYSql manage db
PPTX
Mule esb db component
PDF
Php 2
PPTX
Mysql Crud, Php Mysql, php, sql
PPTX
Database Connectivity MYSQL by Dr.C.R.Dhivyaa Kongu Engineering College
PPTX
UNIT V (5).pptx
PPTX
Create database with mule
PPTX
Connecting to salesforce and using database in mule
Mule esb - How to make CRUD operations to a MySql Database in 5 minutes
Mule esb - How to connect to a MySql Database in 5 minutes
Muleesbcomponents1 160625154208
Mule data bases
Integrate with database by groovy
Mule connectors-part 1
Mule ESB Components
Mule with jdbc(my sql)
Calling database with groovy in mule
Mule connectors-session1
Database Access in mule ESB
MySQL Document Store
MYSql manage db
Mule esb db component
Php 2
Mysql Crud, Php Mysql, php, sql
Database Connectivity MYSQL by Dr.C.R.Dhivyaa Kongu Engineering College
UNIT V (5).pptx
Create database with mule
Connecting to salesforce and using database in mule

More from Davide Rapacciuolo (20)

PPTX
Muleesbobjecttojson
PPTX
Consuming raml
PPTX
Transf from csv to xml
PPTX
Esb choice flow
PPTX
Xml to xml transformation in mule
PPTX
Transformation xmltoobjectesb
PPTX
Transformation jsontoxmlesb
PPTX
Transformation jsontojsonesb
PPTX
Transformation csvtoxml
PPTX
Rest fullservices
PPTX
Xml to xml transformation in mule
PPTX
Mule esb object_to_json
PPTX
Mule esb object_to_jackson_json
PPTX
Mule esb expression_filter
PPTX
Mule esb collection_splitter
PPTX
Mule esb soap_service
PPTX
Transformation xmltoobjectesb
PPTX
Transformation jsontoxmlesb
PPTX
Mule esb csv_to_json
PPTX
Json to json transformation in mule
Muleesbobjecttojson
Consuming raml
Transf from csv to xml
Esb choice flow
Xml to xml transformation in mule
Transformation xmltoobjectesb
Transformation jsontoxmlesb
Transformation jsontojsonesb
Transformation csvtoxml
Rest fullservices
Xml to xml transformation in mule
Mule esb object_to_json
Mule esb object_to_jackson_json
Mule esb expression_filter
Mule esb collection_splitter
Mule esb soap_service
Transformation xmltoobjectesb
Transformation jsontoxmlesb
Mule esb csv_to_json
Json to json transformation in mule

Recently uploaded (20)

PDF
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
PPTX
Microsoft Excel 365/2024 Beginner's training
PDF
How IoT Sensor Integration in 2025 is Transforming Industries Worldwide
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
OpenACC and Open Hackathons Monthly Highlights July 2025
PDF
Flame analysis and combustion estimation using large language and vision assi...
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PDF
Five Habits of High-Impact Board Members
PPTX
Training Program for knowledge in solar cell and solar industry
PPT
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
Comparative analysis of machine learning models for fake news detection in so...
PDF
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
DOCX
search engine optimization ppt fir known well about this
PDF
Improvisation in detection of pomegranate leaf disease using transfer learni...
PDF
Convolutional neural network based encoder-decoder for efficient real-time ob...
PDF
Zenith AI: Advanced Artificial Intelligence
PPTX
TEXTILE technology diploma scope and career opportunities
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
Microsoft Excel 365/2024 Beginner's training
How IoT Sensor Integration in 2025 is Transforming Industries Worldwide
Developing a website for English-speaking practice to English as a foreign la...
OpenACC and Open Hackathons Monthly Highlights July 2025
Flame analysis and combustion estimation using large language and vision assi...
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
Taming the Chaos: How to Turn Unstructured Data into Decisions
A contest of sentiment analysis: k-nearest neighbor versus neural network
Five Habits of High-Impact Board Members
Training Program for knowledge in solar cell and solar industry
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
Comparative analysis of machine learning models for fake news detection in so...
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
search engine optimization ppt fir known well about this
Improvisation in detection of pomegranate leaf disease using transfer learni...
Convolutional neural network based encoder-decoder for efficient real-time ob...
Zenith AI: Advanced Artificial Intelligence
TEXTILE technology diploma scope and career opportunities

Mule esb db_2

  • 1. Mule ESB How to make CRUD operations to a MySql Database
  • 2. Let’s assume you have a fully configured MySql instance in local environment, and you can access to phpmyadmin administration tool. As a first step, we will be creating a flow with a configured database instance:
  • 3. Now let’s making a select query on our db administration tool to check the data already present on the db: Having done this, we’re now ready to configure the mule component in order to write some new data on the database:
  • 4. Let’s start the server and point our browser to the configured url to trigger the flow, The output on console should be something like this: [[db_test].HTTP_Listener_Configuration.worker.0 1] org.mule.api.processor.LoggerMessageProcessor: 1 The «1» in the payload is a boolean value saying that everything was ok! So, we are ready to show the inserted record: As you can see, we have now our record!
  • 5. Our next goal is to delete our newly created record. To do it, configure the db component in this way: Let’s start the server and point our browser to the configured url to trigger the flow, The output on console should be something like this: [[db_test].HTTP_Listener_Configuration.worker.0 1] org.mule.api.processor.LoggerMessageProcessor: 1 The «1» in the payload, again, is a boolean value saying that everything was ok! So, we are ready to show the the user table: Enjoy with the MULE!