Mule技术文档
- 格式:pptx
- 大小:1.14 MB
- 文档页数:43


File Transport
Mule提供一种方式,将某个路径下面的文件传送到某个指定的路径下。这种传输通道就是File Transport.
File Transport提供一系列可配置的属性,来提高它的实用性。
属性 类型 目标 描述
writeToDirectory
String connector, outbound
endpoin 文件输出的目录
readFromDirectory String connector, inbound endpoin 文件输入的目录
autoDelete boolean connector, inbound
endpoint 文件传输之后是否删除源文件目录文件
outputAppend boolean connector, outboun
endpoint
pollingFrequency long connector, inbound
endpoint 每个多长时间传输(以毫秒为单位)
moveToDirectory String connector, inbound
endpoint
moveToPattern String connector, inbound
endpoint 传输文件名模式
outputPattern String connector, outbound
endpoint 输出文件名模式
streaming boolean connector 是否把文件做为流处理
File Transport 实例:
将文件从指定的源目录拷贝到目的目录,拷贝完之后删除源目录中的文件:
xmlns:xsi="/2001/XMLSchema-instance"
xmlns:spring="/schema/beans"
xmlns:stdio="/schema/mule/stdio/2.2"
xmlns:file="/schema/mule/file/2.2"
Mule ESB 3 Tutoria
l1. Home . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21.1 Creating an Application Using the Mule IDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21.2 Creating an Application Using Maven . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51.3 Creating a Configuration File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61.4 Testing Your Mule Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111.5 Introducing Message Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131.6 Understanding Advanced Message Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
博学笃行 自强不息
1
mule
Mule: An Essential Integration Platform for the Modern
Enterprise
Introduction:
In today's fast-paced business landscape, enterprises face a
multitude of challenges when it comes to integrating their
diverse systems, applications, and data sources. Effective
integration is crucial for businesses to streamline operations,
improve efficiency, and enhance customer experiences. To
meet these challenges, organizations are turning to
integration platforms that can seamlessly connect their
disparate technologies. One such powerful integration
platform is Mule.
What is Mule?
Mule is an open-source, lightweight, and scalable integration
platform developed by MuleSoft. It provides a unified and
flexible approach to connectivity and enables organizations
to integrate their applications, data, and devices across cloud
MULE_ESB部署手册
美国赛特斯网络科技(南京)有限责任公司
赛特斯网络科技有限公司
2 1 说明
本文档适合的阅读对象为刚接触ESB项目研发人员需要了解ESB产品部署的测试人员。通过阅读本文档,测试及FAE人员能够初步掌握ESB的部署方法。
2 Linux安装配置MULE_ESB环境
2.1 JDK安装配置(可视具体情况而定)
推荐使用的JDK版本为JDK1.6.0_24。
将jdk-6u24-linux-i586.bin放到/usr/java下
修改jdk-6u24-linux-i586.bin文件权限,具有可执行权限
Chmod 777 jdk-6u24-linux-i586.bin
执行该文件:./ jdk-6u24-linux-i586.bin
添加环境变量:
进入profile文件vi /etc/profile
在profile中最后添加如下内容:
export JAVA_HOME=/usr/java/jdk1.6.0_24
export PATH=$JAVA_HOME/bin:$PATH
执行source命令
[root@localhost plugins]# source /etc/profile
查看系统中java启动是否正确,注意这个和环境变量:
[root@localhost java]# java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
如果出现上面的内容,则表示SUN JDK安装成功
2.2 MULE安装配置(可视具体情况而定)