SlideShare a Scribd company logo
Input and output flow:
using file and logger
component
Open Anypoint Studio
Create a File  New  Mule Project
Click «Finish»
Expand the «myfirstproject» on package explorer
Double click on myfirstproject.xml
Once file is open, show Message Flow
From Mule Palette view, search for ‘File’ and ‘Logger’ and select the first one.
Drag and Drop File then Java and then again File component into Message Flow view.
Now we have to configure the two File components for our flow
Create 3 local folders, where a file will be created and stored by the flow.
Configure the File_Input (1° block) and the File_Output (2° block), and give the Path to insert, backup and get
out the file.
Click on SAVE at top-left of screen
Configure the Logger component to print out the flow message about the file we are transferring (show on
Console).
Click on SAVE at top-left of screen
Now we are ready to start the
flow.
Right Click on project Run As 
Mule Application
On the Console view below server
is going to start.
Create a txt file and drag it to the
File_Input folder. It will be first
copied to File_Backup folder and
then moved to File_Output folder.
(the flow will start as we drag the
test_file into File_Input folder).
One the Console we can see the
result of the Logger component
that will print the file name we
are transferring.
The flow is now finished!
Enjoy with

More Related Content

What's hot (18)

PPTX
Mule esb db_1
Davide Rapacciuolo
 
PPTX
Caching & validating
Son Nguyen
 
PPTX
Mule esb httpflow
Domenico Schiavone
 
PPTX
Esb first http flow
Antonio Pellegrino
 
PPTX
Mule idempotent filter and Object Store
Anirban Sen Chowdhary
 
PPTX
Request dispacther interface ppt
Taha Malampatti
 
PPTX
My mule esb first http flow
Davide Rapacciuolo
 
PPT
Deploy and Publish Web Service
pradeepfdo
 
PPTX
Groovy example in mule
Mohammed246
 
PPTX
Mulesoft Using Groovy Component
kumar gaurav
 
PPTX
Accessing Mule variables in groovy
Anirban Sen Chowdhary
 
ODP
Mule ESB SMTP Connector Integration
AnilKumar Etagowni
 
PPTX
Mule esb data weave multi input data
AnilKumar Etagowni
 
PDF
CakePHP 3
rafaelfqf
 
ODP
Box connector Mule ESB Integration
AnilKumar Etagowni
 
PDF
Weblogic as a windows service
Ravi Kumar Lanke
 
PPTX
Groovy in Mule
Praneethchampion
 
PPTX
xslt in mule
Praneethchampion
 
Mule esb db_1
Davide Rapacciuolo
 
Caching & validating
Son Nguyen
 
Mule esb httpflow
Domenico Schiavone
 
Esb first http flow
Antonio Pellegrino
 
Mule idempotent filter and Object Store
Anirban Sen Chowdhary
 
Request dispacther interface ppt
Taha Malampatti
 
My mule esb first http flow
Davide Rapacciuolo
 
Deploy and Publish Web Service
pradeepfdo
 
Groovy example in mule
Mohammed246
 
Mulesoft Using Groovy Component
kumar gaurav
 
Accessing Mule variables in groovy
Anirban Sen Chowdhary
 
Mule ESB SMTP Connector Integration
AnilKumar Etagowni
 
Mule esb data weave multi input data
AnilKumar Etagowni
 
CakePHP 3
rafaelfqf
 
Box connector Mule ESB Integration
AnilKumar Etagowni
 
Weblogic as a windows service
Ravi Kumar Lanke
 
Groovy in Mule
Praneethchampion
 
xslt in mule
Praneethchampion
 

Viewers also liked (20)

PPTX
Mule soft exception
Son Nguyen
 
PPT
Mule with spring security manager
Son Nguyen
 
PDF
Hakekat qurban
tmbaitussalam junwangi
 
PPTX
Audit logging
Son Nguyen
 
PPTX
Economia del mare e Blue Growth
Cooperativa Officine del Levante
 
PPTX
Mule scopes 2
kunal vishe
 
PPTX
Mule scopes 1
kunal vishe
 
PPTX
Mule message
kunal vishe
 
PPTX
Mule error handling_rollback exception strategy
kunal vishe
 
PDF
20160324自由集会講演
astanabe
 
PPTX
Gobernar en el Siglo XXI- Taller en Claeh
Fundación CiGob
 
PPTX
Mule concepts components
kunal vishe
 
PPTX
Mule concepts transformers
kunal vishe
 
PPTX
Mule concepts flows
kunal vishe
 
DOCX
PENULISAN KARYA ILMIAH - Panduan Skripsi
Diana Amelia Bagti
 
DOCX
Kajian Yuridis terhadap Asas Pertanggungjawaban Komando (Suatu Tinjaun Kritis...
Ir. Soekarno
 
PPTX
Mule concepts filters scopes_routers
kunal vishe
 
PPTX
Educaplaysonia
formación cpe
 
PPTX
Mule error handling_choice exception strategy
kunal vishe
 
PPTX
Mule concepts exception strategies
kunal vishe
 
Mule soft exception
Son Nguyen
 
Mule with spring security manager
Son Nguyen
 
Hakekat qurban
tmbaitussalam junwangi
 
Audit logging
Son Nguyen
 
Economia del mare e Blue Growth
Cooperativa Officine del Levante
 
Mule scopes 2
kunal vishe
 
Mule scopes 1
kunal vishe
 
Mule message
kunal vishe
 
Mule error handling_rollback exception strategy
kunal vishe
 
20160324自由集会講演
astanabe
 
Gobernar en el Siglo XXI- Taller en Claeh
Fundación CiGob
 
Mule concepts components
kunal vishe
 
Mule concepts transformers
kunal vishe
 
Mule concepts flows
kunal vishe
 
PENULISAN KARYA ILMIAH - Panduan Skripsi
Diana Amelia Bagti
 
Kajian Yuridis terhadap Asas Pertanggungjawaban Komando (Suatu Tinjaun Kritis...
Ir. Soekarno
 
Mule concepts filters scopes_routers
kunal vishe
 
Educaplaysonia
formación cpe
 
Mule error handling_choice exception strategy
kunal vishe
 
Mule concepts exception strategies
kunal vishe
 
Ad

Similar to Input and output flow using file and logger component (20)

PPTX
Mule esb lesson 3
Germano Barba
 
PPTX
Input and output flow using file to string and logger component
Son Nguyen
 
PPTX
Input and output flow with logger component
Son Nguyen
 
PPTX
Mule io flow
Germano Barba
 
PPTX
My mule esb flow
Davide Rapacciuolo
 
PPTX
Example esb flow
Antonio Pellegrino
 
PPTX
Example esb flow
Antonio Pellegrino
 
PPTX
Symple io flow
Domenico Schiavone
 
PPTX
Mule esb using file to string and logger component
Germano Barba
 
PDF
Office outlook tutorial
Majida Antonios, M.Ed.
 
PPTX
Mule esb file to-string flow
Davide Rapacciuolo
 
DOC
Qtp launch
G C Reddy Technologies
 
PPTX
Payload and logger
Domenico Schiavone
 
PDF
BCSL 056 solved assignment
Indira Gnadhi National Open University (IGNOU)
 
PDF
Computing for Engineering - Lecture 03
Sarchia Khursheed
 
PPTX
exe in MatLab
Mahmoud Hikmet
 
PDF
MegaTrader.pdf
AnkurShukla901902
 
PDF
Programming Without Coding Technology (PWCT) - Create Files
Mahmoud Samir Fayed
 
PDF
How to use log_mein
carloboyasia
 
PDF
Programming Without Coding Technology (PWCT) - Read Files
Mahmoud Samir Fayed
 
Mule esb lesson 3
Germano Barba
 
Input and output flow using file to string and logger component
Son Nguyen
 
Input and output flow with logger component
Son Nguyen
 
Mule io flow
Germano Barba
 
My mule esb flow
Davide Rapacciuolo
 
Example esb flow
Antonio Pellegrino
 
Example esb flow
Antonio Pellegrino
 
Symple io flow
Domenico Schiavone
 
Mule esb using file to string and logger component
Germano Barba
 
Office outlook tutorial
Majida Antonios, M.Ed.
 
Mule esb file to-string flow
Davide Rapacciuolo
 
Payload and logger
Domenico Schiavone
 
Computing for Engineering - Lecture 03
Sarchia Khursheed
 
exe in MatLab
Mahmoud Hikmet
 
MegaTrader.pdf
AnkurShukla901902
 
Programming Without Coding Technology (PWCT) - Create Files
Mahmoud Samir Fayed
 
How to use log_mein
carloboyasia
 
Programming Without Coding Technology (PWCT) - Read Files
Mahmoud Samir Fayed
 
Ad

More from Son Nguyen (20)

PPTX
Wsdl connector introduction
Son Nguyen
 
PPTX
Android intergrate with mule
Son Nguyen
 
PPTX
Mule flow overview
Son Nguyen
 
PPTX
Mule flow and filter
Son Nguyen
 
PPTX
Handle exceptions in mule
Son Nguyen
 
PPT
Spring security integrate with mule
Son Nguyen
 
PPTX
Message processor in mule
Son Nguyen
 
PPTX
Expression language in mule
Son Nguyen
 
PPTX
Mule with data weave
Son Nguyen
 
PPTX
Using spring scheduler mule
Son Nguyen
 
PPTX
Composite source in bound and out-bound
Son Nguyen
 
PPT
Batch job processing
Son Nguyen
 
PPTX
Using message enricher
Son Nguyen
 
PPT
Finance connectors with mule
Son Nguyen
 
PPT
Google drive connection
Son Nguyen
 
PPTX
Using properties in mule
Son Nguyen
 
PPT
Mule integrate with microsoft
Son Nguyen
 
PPTX
Jms queue
Son Nguyen
 
PPT
Anypoint connectors
Son Nguyen
 
PPTX
Mule esb basic introduction
Son Nguyen
 
Wsdl connector introduction
Son Nguyen
 
Android intergrate with mule
Son Nguyen
 
Mule flow overview
Son Nguyen
 
Mule flow and filter
Son Nguyen
 
Handle exceptions in mule
Son Nguyen
 
Spring security integrate with mule
Son Nguyen
 
Message processor in mule
Son Nguyen
 
Expression language in mule
Son Nguyen
 
Mule with data weave
Son Nguyen
 
Using spring scheduler mule
Son Nguyen
 
Composite source in bound and out-bound
Son Nguyen
 
Batch job processing
Son Nguyen
 
Using message enricher
Son Nguyen
 
Finance connectors with mule
Son Nguyen
 
Google drive connection
Son Nguyen
 
Using properties in mule
Son Nguyen
 
Mule integrate with microsoft
Son Nguyen
 
Jms queue
Son Nguyen
 
Anypoint connectors
Son Nguyen
 
Mule esb basic introduction
Son Nguyen
 

Recently uploaded (20)

DOCX
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
 
PDF
Hello I'm "AI" Your New _________________
Dr. Tathagat Varma
 
PDF
GDG Cloud Southlake #44: Eyal Bukchin: Tightening the Kubernetes Feedback Loo...
James Anderson
 
PDF
“Scaling i.MX Applications Processors’ Native Edge AI with Discrete AI Accele...
Edge AI and Vision Alliance
 
PDF
FME as an Orchestration Tool with Principles From Data Gravity
Safe Software
 
PDF
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
PDF
TrustArc Webinar - Navigating APAC Data Privacy Laws: Compliance & Challenges
TrustArc
 
PDF
Understanding The True Cost of DynamoDB Webinar
ScyllaDB
 
PDF
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
PDF
Dev Dives: Accelerating agentic automation with Autopilot for Everyone
UiPathCommunity
 
PDF
Understanding AI Optimization AIO, LLMO, and GEO
CoDigital
 
PDF
Proactive Server and System Monitoring with FME: Using HTTP and System Caller...
Safe Software
 
PDF
LLM Search Readiness Audit - Dentsu x SEO Square - June 2025.pdf
Nick Samuel
 
PPTX
01_Approach Cyber- DORA Incident Management.pptx
FinTech Belgium
 
PDF
Unlocking FME Flow’s Potential: Architecture Design for Modern Enterprises
Safe Software
 
PPTX
The birth and death of Stars - earth and life science
rizellemarieastrolo
 
PDF
''Taming Explosive Growth: Building Resilience in a Hyper-Scaled Financial Pl...
Fwdays
 
PPTX
Practical Applications of AI in Local Government
OnBoard
 
PPTX
Mastering Authorization: Integrating Authentication and Authorization Data in...
Hitachi, Ltd. OSS Solution Center.
 
PDF
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
 
Hello I'm "AI" Your New _________________
Dr. Tathagat Varma
 
GDG Cloud Southlake #44: Eyal Bukchin: Tightening the Kubernetes Feedback Loo...
James Anderson
 
“Scaling i.MX Applications Processors’ Native Edge AI with Discrete AI Accele...
Edge AI and Vision Alliance
 
FME as an Orchestration Tool with Principles From Data Gravity
Safe Software
 
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
TrustArc Webinar - Navigating APAC Data Privacy Laws: Compliance & Challenges
TrustArc
 
Understanding The True Cost of DynamoDB Webinar
ScyllaDB
 
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
Dev Dives: Accelerating agentic automation with Autopilot for Everyone
UiPathCommunity
 
Understanding AI Optimization AIO, LLMO, and GEO
CoDigital
 
Proactive Server and System Monitoring with FME: Using HTTP and System Caller...
Safe Software
 
LLM Search Readiness Audit - Dentsu x SEO Square - June 2025.pdf
Nick Samuel
 
01_Approach Cyber- DORA Incident Management.pptx
FinTech Belgium
 
Unlocking FME Flow’s Potential: Architecture Design for Modern Enterprises
Safe Software
 
The birth and death of Stars - earth and life science
rizellemarieastrolo
 
''Taming Explosive Growth: Building Resilience in a Hyper-Scaled Financial Pl...
Fwdays
 
Practical Applications of AI in Local Government
OnBoard
 
Mastering Authorization: Integrating Authentication and Authorization Data in...
Hitachi, Ltd. OSS Solution Center.
 
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 

Input and output flow using file and logger component

  • 1. Input and output flow: using file and logger component
  • 2. Open Anypoint Studio Create a File  New  Mule Project Click «Finish»
  • 3. Expand the «myfirstproject» on package explorer Double click on myfirstproject.xml Once file is open, show Message Flow From Mule Palette view, search for ‘File’ and ‘Logger’ and select the first one. Drag and Drop File then Java and then again File component into Message Flow view.
  • 4. Now we have to configure the two File components for our flow Create 3 local folders, where a file will be created and stored by the flow. Configure the File_Input (1° block) and the File_Output (2° block), and give the Path to insert, backup and get out the file. Click on SAVE at top-left of screen
  • 5. Configure the Logger component to print out the flow message about the file we are transferring (show on Console). Click on SAVE at top-left of screen
  • 6. Now we are ready to start the flow. Right Click on project Run As  Mule Application On the Console view below server is going to start. Create a txt file and drag it to the File_Input folder. It will be first copied to File_Backup folder and then moved to File_Output folder. (the flow will start as we drag the test_file into File_Input folder). One the Console we can see the result of the Logger component that will print the file name we are transferring. The flow is now finished! Enjoy with