File Component In Mule Demo
Abstract
• The main motto of this PPT is how to use File
component in our applications.
Introduction
• The File connector allows your Mule
application to exchange files with a file
system. You can implement the File connector
as an inbound endpoint (such as, a message
source), or as an outbound endpoint. This
endpoint implements a one-way exchange
pattern only.
Example
• .mflow
• <?xml version="1.0" encoding="UTF-8"?>
• <mule xmlns:file="http://www.mulesoft.org/schema/mule/file"
xmlns="http://www.mulesoft.org/schema/mule/core"
xmlns:doc="http://www.mulesoft.org/schema/mule/documentation"
xmlns:spring="http://www.springframework.org/schema/beans" version="EE-3.4.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-current.xsd
• http://www.mulesoft.org/schema/mule/core
http://www.mulesoft.org/schema/mule/core/current/mule.xsd
• http://www.mulesoft.org/schema/mule/file
http://www.mulesoft.org/schema/mule/file/current/mule-file.xsd">
• <flow name="FileFlow1" doc:name="FileFlow1">
• <file:inbound-endpoint path=“Source file location" moveToDirectory=“Destination file location"
responseTimeout="10000" doc:name="File"/>
• <logger message="--file is successfully picked" level="INFO" doc:name="Logger"/>
• </flow>
• </mule>
• Output:
• INFO 2015-09-15 12:32:25,959 [main] org.mule.module.management.agent.JmxAgent: Registered
Connector Service with name Mule.File:type=Connector,name="connector.file.mule.default.1"
• INFO 2015-09-15 12:32:25,962 [main] org.mule.DefaultMuleContext:
• **********************************************************************
• * Application: File *
• * OS encoding: Cp1252, Mule encoding: UTF-8 *
• * *
• * Agents Running: *
• * Clustering Agent *
• * JMX Agent *
• **********************************************************************
• INFO 2015-09-15 12:32:25,963 [main] org.mule.module.launcher.MuleDeploymentService:
• ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
• + Started app 'File' +
• ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
• INFO 2015-09-15 12:32:26,931 [[File].connector.file.mule.default.receiver.01]
org.mule.transport.file.FileMessageReceiver: Lock obtained on file: Source file
locationfilename.xml
• INFO 2015-09-15 12:32:26,990 [[File].FileFlow1.stage1.02]
org.mule.api.processor.LoggerMessageProcessor: --file is successfully picked
• Flow of execution:
1. Service will pole the file for every 1sec”
2. It will pick the file from source folder and will
move to destination location
3. Service will display a message called “file is
successfully picked”
References
• https://docs.mulesoft.com/mule-user-
guide/v/3.7/file-connector

More Related Content

PPTX
File component in mule demo
PPTX
Mule esb transformers
PPTX
Mule advanced
PPTX
File connector mule
PPTX
Mulesoft file connector
PPTX
Mule concepts connectors
PPTX
Generating Documentation for Mule ESB Application
PPTX
Mule Message Properties Component
File component in mule demo
Mule esb transformers
Mule advanced
File connector mule
Mulesoft file connector
Mule concepts connectors
Generating Documentation for Mule ESB Application
Mule Message Properties Component

What's hot (15)

PPTX
File component in mule
PPTX
Mule agent notifications
PPTX
Mule rabbitmq
PPTX
Design flows in mule
PPTX
Xslt in mule
PPTX
xslt in mule
PPTX
Xml to xml transformation in mule
PPTX
File connector
PPTX
Mule esb
PPTX
Choice router mule
PPTX
Xslt with mule
PPTX
Choice component in mule demo
PPTX
Scatter gather flow in mule
PPTX
Choice component in mule
PPT
Mule overview-ppt
File component in mule
Mule agent notifications
Mule rabbitmq
Design flows in mule
Xslt in mule
xslt in mule
Xml to xml transformation in mule
File connector
Mule esb
Choice router mule
Xslt with mule
Choice component in mule demo
Scatter gather flow in mule
Choice component in mule
Mule overview-ppt
Ad

Viewers also liked (8)

PDF
Spain floor tile manufacturer TOE floor tile, wholesale price direct
PPTX
Biz talk vs mulesoft
PPTX
Mule esb - How to connect to a MySql Database in 5 minutes
PPTX
How to commit a project in svn using svn plugin in anypointstudio
PPTX
MuleSoft Consuming Soap Web Service - CXF Proxy-Client Module
PPTX
Mule groovy
PPT
Aula 2 - Bioenergetica - Fisiologia do exercício
DOC
Nursing case study Pre eclampsia
Spain floor tile manufacturer TOE floor tile, wholesale price direct
Biz talk vs mulesoft
Mule esb - How to connect to a MySql Database in 5 minutes
How to commit a project in svn using svn plugin in anypointstudio
MuleSoft Consuming Soap Web Service - CXF Proxy-Client Module
Mule groovy
Aula 2 - Bioenergetica - Fisiologia do exercício
Nursing case study Pre eclampsia
Ad

Similar to Mule File component (20)

PPTX
Mule- File component example
PPTX
How to use file component
PPTX
File component
PPTX
Message properties component
 
PPTX
Message properties component
PPTX
Message properties component in mule
PPTX
How to use message properties component
PPTX
Message properties component in Mule
PPTX
How to use message properties component
PPTX
How to use message properties component
PPTX
How to use or filter
PPTX
How to use message properties component
PPTX
How to use message properties component
PPTX
How to use message properties component
PPTX
How to use message properties component
PPTX
How to use and filter
PPTX
How to use parse template
PPTX
How to use not filter
PPTX
How to use message properties component
PPTX
How to use expression filter
Mule- File component example
How to use file component
File component
Message properties component
 
Message properties component
Message properties component in mule
How to use message properties component
Message properties component in Mule
How to use message properties component
How to use message properties component
How to use or filter
How to use message properties component
How to use message properties component
How to use message properties component
How to use message properties component
How to use and filter
How to use parse template
How to use not filter
How to use message properties component
How to use expression filter

More from AbdulImrankhan7 (20)

PPT
Web services Overview in depth
PPTX
Install sonarqube plugin
PPTX
Junit in mule
PPTX
commit a project in svn
PPTX
Github plugin setup in anypoint studio
PPTX
For each component
PPTX
Filter expression
PPTX
Mule Database component
PPTX
Mule Choice component
PPTX
Mule stored procedure
PPTX
Deploying and running in mule standalone
PPT
Mule real-world
PPT
Mule Overview
PPTX
Webservice with vm in mule
PPTX
Validating a soap request in mule
PPTX
Using xslt in mule
PPTX
Simple groovy example in mule
PPTX
Scatter gather flow control
PPTX
Mule with velocity
PPTX
Mule with rabbit mq
Web services Overview in depth
Install sonarqube plugin
Junit in mule
commit a project in svn
Github plugin setup in anypoint studio
For each component
Filter expression
Mule Database component
Mule Choice component
Mule stored procedure
Deploying and running in mule standalone
Mule real-world
Mule Overview
Webservice with vm in mule
Validating a soap request in mule
Using xslt in mule
Simple groovy example in mule
Scatter gather flow control
Mule with velocity
Mule with rabbit mq

Recently uploaded (20)

PDF
Rapid Prototyping: A lecture on prototyping techniques for interface design
PDF
Early detection and classification of bone marrow changes in lumbar vertebrae...
PDF
Statistics on Ai - sourced from AIPRM.pdf
PDF
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
PDF
giants, standing on the shoulders of - by Daniel Stenberg
PDF
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
PDF
NewMind AI Weekly Chronicles – August ’25 Week IV
PDF
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
PPTX
future_of_ai_comprehensive_20250822032121.pptx
PDF
Lung cancer patients survival prediction using outlier detection and optimize...
PDF
Comparative analysis of machine learning models for fake news detection in so...
PDF
Enhancing plagiarism detection using data pre-processing and machine learning...
PDF
LMS bot: enhanced learning management systems for improved student learning e...
DOCX
Basics of Cloud Computing - Cloud Ecosystem
PDF
sbt 2.0: go big (Scala Days 2025 edition)
PDF
Convolutional neural network based encoder-decoder for efficient real-time ob...
PDF
Advancing precision in air quality forecasting through machine learning integ...
PDF
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
PDF
Improvisation in detection of pomegranate leaf disease using transfer learni...
PPTX
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
Rapid Prototyping: A lecture on prototyping techniques for interface design
Early detection and classification of bone marrow changes in lumbar vertebrae...
Statistics on Ai - sourced from AIPRM.pdf
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
giants, standing on the shoulders of - by Daniel Stenberg
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
NewMind AI Weekly Chronicles – August ’25 Week IV
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
future_of_ai_comprehensive_20250822032121.pptx
Lung cancer patients survival prediction using outlier detection and optimize...
Comparative analysis of machine learning models for fake news detection in so...
Enhancing plagiarism detection using data pre-processing and machine learning...
LMS bot: enhanced learning management systems for improved student learning e...
Basics of Cloud Computing - Cloud Ecosystem
sbt 2.0: go big (Scala Days 2025 edition)
Convolutional neural network based encoder-decoder for efficient real-time ob...
Advancing precision in air quality forecasting through machine learning integ...
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
Improvisation in detection of pomegranate leaf disease using transfer learni...
AI-driven Assurance Across Your End-to-end Network With ThousandEyes

Mule File component

  • 1. File Component In Mule Demo
  • 2. Abstract • The main motto of this PPT is how to use File component in our applications.
  • 3. Introduction • The File connector allows your Mule application to exchange files with a file system. You can implement the File connector as an inbound endpoint (such as, a message source), or as an outbound endpoint. This endpoint implements a one-way exchange pattern only.
  • 5. • .mflow • <?xml version="1.0" encoding="UTF-8"?> • <mule xmlns:file="http://www.mulesoft.org/schema/mule/file" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" xmlns:spring="http://www.springframework.org/schema/beans" version="EE-3.4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd • http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd • http://www.mulesoft.org/schema/mule/file http://www.mulesoft.org/schema/mule/file/current/mule-file.xsd"> • <flow name="FileFlow1" doc:name="FileFlow1"> • <file:inbound-endpoint path=“Source file location" moveToDirectory=“Destination file location" responseTimeout="10000" doc:name="File"/> • <logger message="--file is successfully picked" level="INFO" doc:name="Logger"/> • </flow> • </mule>
  • 6. • Output: • INFO 2015-09-15 12:32:25,959 [main] org.mule.module.management.agent.JmxAgent: Registered Connector Service with name Mule.File:type=Connector,name="connector.file.mule.default.1" • INFO 2015-09-15 12:32:25,962 [main] org.mule.DefaultMuleContext: • ********************************************************************** • * Application: File * • * OS encoding: Cp1252, Mule encoding: UTF-8 * • * * • * Agents Running: * • * Clustering Agent * • * JMX Agent * • ********************************************************************** • INFO 2015-09-15 12:32:25,963 [main] org.mule.module.launcher.MuleDeploymentService: • ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ • + Started app 'File' + • ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ • INFO 2015-09-15 12:32:26,931 [[File].connector.file.mule.default.receiver.01] org.mule.transport.file.FileMessageReceiver: Lock obtained on file: Source file locationfilename.xml • INFO 2015-09-15 12:32:26,990 [[File].FileFlow1.stage1.02] org.mule.api.processor.LoggerMessageProcessor: --file is successfully picked
  • 7. • Flow of execution: 1. Service will pole the file for every 1sec” 2. It will pick the file from source folder and will move to destination location 3. Service will display a message called “file is successfully picked”