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”message(Exchange 是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),一个会话是怎样创建的,是学习的重点)
来源:oschina
链接:https://my.oschina.net/u/1788192/blog/372346