The routing engine uses routes as specifications for where messages are routed. Routes are defined using one of Camel’s domain-specific languages (DSLs). Processors are used to transform and manipulate messages during routing and also to implement all the EIP patterns, which have corresponding keywords in the DSL languages. 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. With that high-level view out of the way, let’s take a closer look at the individual concepts in figure 1.6.
路由引擎使用路由作为消息路由位置的规范。域的特定路由(使用Camel的特定语言定义)。处理器(Processors)用于在路由过程中转换和操作消息,还用于实现所有EIP模式,这些模式在DSL语言中具有相应的关键字。组件是Camel中用于向其他系统添加连接的扩展点。为了向Camel的其余部分公开这些系统,组件提供了一个端点接口。有了这个高级视图,让我们更仔细地看看图1.6中的各个概念。