note of camel in action--chapter 1

Posted liuheng0213

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了note of camel in action--chapter 1相关的知识,希望对你有一定的参考价值。

1 Message

    技术图片

     Headers are name-value pairs; the name is a unique, case-insensitive string, and the value is of type java.lang.Object .

      Attachments are typically used for the web service and email components.

      The body is of type java.lang.Object, When the sender and receiver use different body formats, Camel provides a number of mechanisms to transform the data into an acceptable format, and in  many cases the conversion happens automatically with type converters, behind the scenes.

  2  Exchange

     技术图片

   3  Camel Architecture

技术图片

 

  CamelContext is , to some extend , like the Application in Spring, it actually is a container

  技术图片

     besides thos concepts ,there are also Producer and Consumer

     3. 1 Producer

     3.2 Consumer

    技术图片

 

以上是关于note of camel in action--chapter 1的主要内容,如果未能解决你的问题,请参考以下文章