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

PPTX
Input and output flow using http and java component
PPTX
Simple interact between http and java components
PPTX
Mule esb first http connector
PPTX
Mule esb lesson 1
PPTX
Mule hppt java
PPTX
Example esb file-to-string flow
PPTX
Mule esb using file to string and logger component
PPTX
Mule esb db_2
Input and output flow using http and java component
Simple interact between http and java components
Mule esb first http connector
Mule esb lesson 1
Mule hppt java
Example esb file-to-string flow
Mule esb using file to string and logger component
Mule esb db_2

What's hot (18)

PPTX
Mule esb db_1
PPTX
Caching & validating
PPTX
Mule esb httpflow
PPTX
Esb first http flow
PPTX
Mule idempotent filter and Object Store
PPTX
Request dispacther interface ppt
PPTX
My mule esb first http flow
PPT
Deploy and Publish Web Service
PPTX
Groovy example in mule
PPTX
Mulesoft Using Groovy Component
PPTX
Accessing Mule variables in groovy
ODP
Mule ESB SMTP Connector Integration
PPTX
Mule esb data weave multi input data
PDF
CakePHP 3
ODP
Box connector Mule ESB Integration
PDF
Weblogic as a windows service
PPTX
Groovy in Mule
PPTX
xslt in mule
Mule esb db_1
Caching & validating
Mule esb httpflow
Esb first http flow
Mule idempotent filter and Object Store
Request dispacther interface ppt
My mule esb first http flow
Deploy and Publish Web Service
Groovy example in mule
Mulesoft Using Groovy Component
Accessing Mule variables in groovy
Mule ESB SMTP Connector Integration
Mule esb data weave multi input data
CakePHP 3
Box connector Mule ESB Integration
Weblogic as a windows service
Groovy in Mule
xslt in mule
Ad

Viewers also liked (20)

PPTX
Mule soft exception
PPT
Mule with spring security manager
PDF
Hakekat qurban
PPTX
Audit logging
PPTX
Economia del mare e Blue Growth
PPTX
Mule scopes 2
PPTX
Mule scopes 1
PPTX
Mule message
PPTX
Mule error handling_rollback exception strategy
PDF
20160324自由集会講演
PPTX
Gobernar en el Siglo XXI- Taller en Claeh
PPTX
Mule concepts components
PPTX
Mule concepts transformers
PPTX
Mule concepts flows
DOCX
PENULISAN KARYA ILMIAH - Panduan Skripsi
DOCX
Kajian Yuridis terhadap Asas Pertanggungjawaban Komando (Suatu Tinjaun Kritis...
PPTX
Mule concepts filters scopes_routers
PPTX
Educaplaysonia
PPTX
Mule error handling_choice exception strategy
PPTX
Mule concepts exception strategies
Mule soft exception
Mule with spring security manager
Hakekat qurban
Audit logging
Economia del mare e Blue Growth
Mule scopes 2
Mule scopes 1
Mule message
Mule error handling_rollback exception strategy
20160324自由集会講演
Gobernar en el Siglo XXI- Taller en Claeh
Mule concepts components
Mule concepts transformers
Mule concepts flows
PENULISAN KARYA ILMIAH - Panduan Skripsi
Kajian Yuridis terhadap Asas Pertanggungjawaban Komando (Suatu Tinjaun Kritis...
Mule concepts filters scopes_routers
Educaplaysonia
Mule error handling_choice exception strategy
Mule concepts exception strategies
Ad

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

PPTX
Mule esb lesson 3
PPTX
Input and output flow with logger component
PPTX
Input and output flow using file to string and logger component
PPTX
Mule io flow
PPTX
My mule esb flow
PPTX
Example esb flow
PPTX
Example esb flow
PPTX
Symple io flow
PPTX
Mule esb using file to string and logger component
PDF
Office outlook tutorial
PPTX
Mule esb file to-string flow
DOC
PPTX
Payload and logger
PDF
PDF
Computing for Engineering - Lecture 03
PPTX
exe in MatLab
PDF
MegaTrader.pdf
PDF
Programming Without Coding Technology (PWCT) - Create Files
PDF
How to use log_mein
PDF
Programming Without Coding Technology (PWCT) - Read Files
Mule esb lesson 3
Input and output flow with logger component
Input and output flow using file to string and logger component
Mule io flow
My mule esb flow
Example esb flow
Example esb flow
Symple io flow
Mule esb using file to string and logger component
Office outlook tutorial
Mule esb file to-string flow
Payload and logger
Computing for Engineering - Lecture 03
exe in MatLab
MegaTrader.pdf
Programming Without Coding Technology (PWCT) - Create Files
How to use log_mein
Programming Without Coding Technology (PWCT) - Read Files

More from Son Nguyen (20)

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

Recently uploaded (20)

PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Empathic Computing: Creating Shared Understanding
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
Cloud computing and distributed systems.
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Approach and Philosophy of On baking technology
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Electronic commerce courselecture one. Pdf
Per capita expenditure prediction using model stacking based on satellite ima...
NewMind AI Weekly Chronicles - August'25 Week I
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Empathic Computing: Creating Shared Understanding
Spectral efficient network and resource selection model in 5G networks
The Rise and Fall of 3GPP – Time for a Sabbatical?
Advanced methodologies resolving dimensionality complications for autism neur...
Understanding_Digital_Forensics_Presentation.pptx
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Building Integrated photovoltaic BIPV_UPV.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Cloud computing and distributed systems.
Reach Out and Touch Someone: Haptics and Empathic Computing
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Network Security Unit 5.pdf for BCA BBA.
Approach and Philosophy of On baking technology
“AI and Expert System Decision Support & Business Intelligence Systems”
Electronic commerce courselecture one. Pdf

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