mule esb 相关概念(摘要)
来源:互联网 发布:找男生合租啪啪 知乎 编辑:程序博客网 时间:2024/05/22 01:27
1. how to work
当你去检查一个消息在mule esb当中 是如何流动的时候,你回发现整个架构中存在着三个层面:应用层,整合层,以及传输层..
同样,在mule 开发中也有三种不同类型任务你需要去做:
(1) 服务组件开发 可以是存在的pojo,cloud connectors ,或者是包含业务逻辑的和消费,处理消息的sping bean
(2) 服务协调,通过配置各种 服务调停和协调必须得组件 去允许松耦合的组件去使用mule 流.
(3) 服务整合 屏蔽协议让每个服务之间实现解耦合.
摘翻自:http://www.mulesoft.org/documentation/display/MULE3CONCEPTS/How+Mule+Works
2. about mule configuration
一个mule esb 配置文件就是一棵树,就像下图展示的一样(图:)
图中的每个组件都提供了访问mule内部配置对象的能力:
custom message processors 处理消息,修改消息或消息流.
flows 使用message processors 去定义源头和目标之间的消息流
mule global configuration 全局配置,比如默认交易超时时间
connectors 任何一中传输方式使用的非默认配置
endpoints 定义接收和发送消息所使用的通道,地址,或者是路径,你可以在全局环境中配置它们,在多个flow中引用
transformers 将数据从一种格式转换成另一种格式,你可以在全局环境中定义它们,在多个flow中引用.
filters 过滤中不符合已定义规则的消息,,你可以在全局环境中定义它们,在多个flow中引用.
models 一个或多个models将你得服务组件有逻辑性的组织起来
services 一个或多一个service 封装了你的components,configure routers,endpoints,transformers,and filters.
下面是一个简单的mule esb 配置文件样本.
<mule xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:vm="http://www.mulesoft.org/schema/mule/vm" xsi:schemaLocation=" http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/3.0/mule.xsd http://www.mulesoft.org/schema/mule/vm http://www.mulesoft.org/schema/mule/vm/3.0/mule-vm.xsd"> <vm:connector name="vmConnector" queueTimeout="5000"/> <vm:endpoint name="CustomerRequests" path="customer.requests"/> <vm:endpoint name="CustomerResponses" path="customer.responses"/> <custom-transformer name="ThisToThat" class="com.acme.transformer.ThisToThat"/> <flow name="myBasicFlow"> <inbound-endpoint ref="CustomerRequests"/> <component class="com.acme.service.BasicService"/> <outbound-endpoint ref="CustomerResponses" transformer-refs="ThisToThat"/> </flow></mule>
摘翻自: http://www.mulesoft.org/documentation/display/MULE3CONCEPTS/About+Mule+Configuration
3. understanding the mule architeture(了解mule的架构)
about soa 面向服务架构,详情具体google.
mediation 从消息中分离业务逻辑
orchestration 在不同的服务组件中路由消息
components 处理消息数据
endpoints 把everyging 装配到一个
了解逻辑数据流
- mule esb 相关概念(摘要)
- mule esb 简介(摘要)
- Mule ESB概念详解
- Mule ESB Service 配置摘要
- Mule ESB flow介绍摘要
- Mule ESB Endpoints配置摘要
- Mule ESB Component配置摘要
- Mule ESB Endpoints配置摘要
- Mule ESB flow介绍摘要
- Mule ESB Configuration Patterns 配置摘要
- 关于MULE ESB相关的介绍
- Mule ESB
- mule esb
- Mule ESB
- Mule ESB的component(一)——概念介绍
- WebService相关概念摘要
- ESB构架的MULE
- Mule esb简介
- 电子商务公司的六种基因
- 调试Release发布版程序的Crash错误
- Qt窗口在屏幕上居中显示
- Shell常见知识
- 在vs下给工程添加include(包含)路径和添加lib文件路径
- mule esb 相关概念(摘要)
- Android截图代码实现
- java 实现自动编译成json struts2 中不用配置json等jar包来实现低耦合,低入侵式ajax访问返回数据
- 10项必学的.NET技术
- struts2 文件上传相关问题剖析
- 用PHPEXCEL类库导出EXCEL表格
- win7下zend studio 设置Courier New字体
- 7款最流行的在线项目管理工具推荐
- 祝贺博主新浪微博个人认证与企业微博认证通过,欢迎关注!