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

   

猜你喜欢

转载自www.cnblogs.com/liuheng0213/p/10527539.html