Camel Architecture & Related Classes
Camel高层架构
The routing engine uses routes as specifications indicating where messages are routed.
Routes are defined using one of Camel’s DSLs. Xml-based DSL or Java-based JSL.
Processors are used to transform and manipulate messages during routing as well as to implement all the EIPs, which have corresponding names in the DSLs.
Components are the extension points in Camel for adding connectivity to other systems. To expose these systems to the rest of Camel, components provide an endpoint interface.
CamelContext相关类
Component、Endpoint相关类
Component、Endpoint、Processor都是Service。
Component is confusing terminology; EndpointFactory would have been more appropriate because a Component is a factory for creating Endpoint instances.
Processor相关类
EIP相关类实现Processor Interface,也可以自定义Processor实现。
RouteDefinition相关类
FromDefinition为RouteDefinition的inputs,ProcessorDefinition为RouteDefinition的outputs。