2019独角兽企业重金招聘Python工程师标准>>>

<h2 align="center">Camel’s message model --- Camel的消息模型</h2> <p>     Camel中的有两种抽象的消息类型:</p> <p>       org.apache.camel.Message----是消息的基本的实体。</p> <p>      org.apache.camel.Exchange---描述消息的一次交换。exchange包含一条流入(in)的Message,如果有应答则还有一条流出(out)的Message.</p> <h3>   Message</h3> <blockquote> <p>message有三部分组成:body(有效负载)、headers、Attachments ;mesage有一个全局唯一标示(identifier),类型为(java.lang.String).</p> </blockquote> <p><a href="http://static.oschina.net/uploads/img/201305/31145347_C6q2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://static.oschina.net/uploads/img/201305/31145347_QaZ8.png" width="172" height="244" /></a> </p> <p> </p> <h4>HEADERS AND ATTACHMENTS</h4> <p>Headers放的是消息相关的信息,比如消息发送者(sender),消息编码(encode),验证信息….</p> <p>Headers通过key-value的形式存储数据。key是String型,value是Object型。</p> <p>消息也可以包含附件常用在web service 和 email的路由中。</p> <h4>BODY</h4> <p>body是Object型可以用来存放任何数据。</p> <h4>FAULT FLAG</h4> <p>有部分协议如(WSDL,JBI)区分输出(output)与错误消息。</p> <h3> Exchange</h3> <p>exchange包含如下图所示:</p> <p><a href="http://static.oschina.net/uploads/img/201305/31145348_UBT3.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://static.oschina.net/uploads/img/201305/31145348_xWA5.png" width="223" height="244" /></a> </p> <p>MEP用来区分交互类型:</p> <p>           InOnly代表单向模式(one way),比如JMS</p> <p>           InOut代表还应答模式(request-response).比如HTTP</p>

转载于:https://my.oschina.net/u/574870/blog/134805

Camel In Action 读书笔记 (1)相关推荐

  1. Camel In Action 读书笔记 (8)

    2019独角兽企业重金招聘Python工程师标准>>> 第8章Enterprise integration patterns是core Camel的最后一章了,第二章已经介绍了一部分 ...

  2. LINQ IN ACTION读书笔记:LINQ 使用连接 1、组连接 2、内连接 3、左外连接 4、交叉连接 使用和区别...

    使用的数据源类型: static public class SampleData{static public Publisher[] Publishers ={new Publisher {Name= ...

  3. Machine Learning in Action 读书笔记---第5章 Logistic回归

    Machine Learning in Action 读书笔记 第5章 Logistic回归 文章目录 Machine Learning in Action 读书笔记 一.Logistic回归 1.L ...

  4. Machine Learning in Action 读书笔记---第3章 决策树

    Machine Learning in Action 读书笔记 第3章 决策树 文章目录 Machine Learning in Action 读书笔记 一.决策树算法简介 1 决策树的构造 2 决策 ...

  5. Machine Learning in Action 读书笔记---第4章 基于概率论的分类方法:朴素贝叶斯

    Machine Learning in Action 读书笔记 第4章 基于概率论的分类方法:朴素贝叶斯 文章目录 Machine Learning in Action 读书笔记 一.基于贝叶斯决策理 ...

  6. Machine Learning in Action 读书笔记---第8章 预测数值型数据:回归

    Machine Learning in Action 读书笔记 第8章 预测数值型数据:回归 文章目录 Machine Learning in Action 读书笔记 一.回归 1.回归的一般过程 2 ...

  7. spring in action 读书笔记

    IOC      1.几个主要使用的application context. ClassPathXmlApplicationContext  从ClassPath路径加载 FileSystemXmlA ...

  8. Entity Framework 4 in Action 读书笔记——开篇

    写在开篇之前 Entity Framework 4 In Action 这本书目前还没有中文版的,大体看了一下目录感觉还不错,如果想从中学到东西还是看原汁原味的好.从淘宝上搜了一下这本书要将近100块 ...

  9. R in Action 读书笔记(5)

    MindMapper原文件

最新文章

  1. 甘肃张掖祁连山境内出现雪豹
  2. 宣武区政务网教育网的改造
  3. SAP修改消息内容和报错类型(SE91和OBA5)
  4. eclipse3.4+对的处理插件(附SVN插件安装实例)
  5. Windows Communication Foundation环境安装篇
  6. python开发环境有哪些_python编程需要什么环境
  7. Linux命令——压缩和解压缩
  8. 计算机网络环境中学科教学,浅谈基于计算机网络环境下的农村小学的科学学科教育...
  9. Keras深度学习实战(1)——神经网络基础与模型训练过程详解
  10. apache cgi python
  11. 视频营销自动赚钱秘诀
  12. toastr弹出提示窗口的使用
  13. RF 操作页面滚动条上下滚动
  14. 产业数字化转型升级案例:联合利华数字化供应链管理
  15. gmail邮箱注册_Android中的Google帐户集成–使用Gmail登录
  16. 发邮件+实习+简历+
  17. 编译原理复习四:编译器结构 消除左递归、左公因子 最右推导 寻找句柄讲解(附题目和答案)
  18. egg Cannot find module ‘diagnostics_channel‘
  19. 9. JVM-方法区
  20. perspective

热门文章

  1. 王石:我每天都强迫自己做的一件事
  2. mybatis的执行流程
  3. Linux常用命令(简单的常用)
  4. 第三百六十二节,Python分布式爬虫打造搜索引擎Scrapy精讲—elasticsearch(搜索引擎)基本的索引和文档CRUD操作、增、删、改、查...
  5. 022 Spark shuffle过程
  6. 结对子作业 四则运算 V2.0
  7. WIN8配置IIS8.0+PHP+Mysql+Zend
  8. mysql中engine=innodb和engine=myisam的区别详解
  9. 使用CSS3悬停效果打造不同的页面版式
  10. 来自韩国的优秀Java应用性能监控软件JENNIFER