Camel概念【Camel’s message model(消息体模型)】

房东的猫 提交于 2020-03-02 08:33:20

Camel’s message model

In Camel, there are two abstractions for modeling messages, both of which we’ll cover

in this section.(Camel中有两个抽象的消息体模型)

org.apache.camel.Message —The fundamental entity containing the data

being carried and routed in Camel(Message 是数据承载和路由交换的基本单元)

org.apache.camel.Exchange —The Camel abstraction for an exchange of messages. This exchange of messages has an “in” message and as a reply, an “out”messageExchange 是camel抽象出来用于Message之间的信息传递的,它有一对“in”message 和“out”message

We’ll start by looking at Message to understand how data is modeled and carried in Camel. Then we’ll look at how a “conversation” is modeled in Camel by the Exchange.(在camel中,一个数据是怎么建模和传递的(message),一个会话是怎样创建的,是学习的重点)


易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!