文档章节

Camel概念【Architecture ①】

k_k_anna
 k_k_anna
发布于 2015/01/28 22:34
字数 335
阅读 125
收藏 1

1.4 Camel’s architecture
Let’s now turn our attention to Camel’s architecture. We’ll first take a look at the high-level architecture and then drill down into the specific concepts. After you’ve read this section, you should be caught up on the integration lingo and be ready for chapter 2, where we’ll explore Camel’s routing capabilities.
1.4.1 Architecture from 10,000 feet
We think that architectures are best viewed first from high above(高空俯视). Figure 1.6 shows a high-level view of the main concepts that make up Camel’s architecture.

At a high level, Camel is composed of processors, components, and routes.

All of these are contained within the  CamelContext(他们都被包含在camel上下文中)。

The routing engine uses routes as specifications for where messages are routed.(消息进行路由交换时,路由引擎把routes当做载体)

Routes are defined using one of Camel’s domain-specific languages ( DSL s). (Routes是由一种camel的领域类语言定义的)

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.(在路由交换过程中,Processors用于传输和处理messages,他也实现在dsl中存在响应关键词的所有的企业集成模式)

 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.(Components作为camel连通其他系统的拓展节点,为了使camel框架的其他部分和这些系统更加融合,Components提供了端点接口)

 

© 著作权归作者所有

k_k_anna
粉丝 13
博文 52
码字总数 3024
作品 0
海淀
程序员
私信 提问
Camel概念【Exchange 】

Exchange An exchange in Camel is the message’s container during routing. (在camel中,exchange被当做路由交换的容器) An exchange also provides support for the various types of......

k_k_anna
2015/01/27
426
0
Apache Camel 2.17.1 发布,路由以及媒介引擎

Apache Camel 2.17.1 发布了,一些提升及新特性: [CAMEL-9574] - Be able to force one-way operation when using camel-cxf transport [CAMEL-9883] - Add a SpringCache based idempotent......

淡漠悠然
2016/05/09
1.2K
2
Camel概念【Camel’s message model(消息体模型)】

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......

k_k_anna
2015/01/27
101
0
Apache Camel 2.15.5 发布,规则引擎

Apache Camel 2.15.5 发布,此版本更新内容如下: Bug 修复 [CAMEL-9161] - Camel spring-boot not finding routes when using spring-cloud [CAMEL-9202] - Flatpack: Body reader never c......

淡漠悠然
2015/12/01
1.7K
2
Apache Camel 3.0.0 发布,十年来首个主要版本

Apache Camel 3.0.0 发布了,这是自 2009 年 8 月 25 日发布以来,该项目十年来第一个主要版本。 Camel 是一个基于规则的路由以及媒介引擎,它提供了一个基于 POJO 的企业集成模式的实现,开...

oschina
2019/12/03
7.5K
9

没有更多内容

加载失败,请刷新页面

加载更多

每天AC系列(六):有效的括号

1 题目 LeetCode第20题,这题比较简单,匹配括号. 2 栈 这是栈的典型应用,括号匹配,当然不需要直接使用栈,使用一个StringBuilder即可: if(s.isEmpty()) return true;char a = s.charAt(0);...

Blueeeeeee
今天
27
0
Spring AOP-06-切入点类型

切入点是匹配连接点的拦截规则。之前使用的是注解@Pointcut,该注解是AspectJ中的。除了这个注解之外,Spring也提供了其他一些切入点类型: • 静态方法切入点StaticMethodMatcherPointcut •...

moon888
昨天
90
0
Class Loaders in Java

1. Introduction to Class Loaders Class loaders are responsible for loading Java classes during runtime dynamically to the JVM (Java Virtual Machine). Also, they are part of the ......

Ciet
昨天
96
0
以Lazada为例,看电商系统架构演进

什么是Lazada? Lazada 2012年成立于新加坡,是东南亚第一电商,2016年阿里投资10亿美金,2017年完成对lazada的收购。 业务模式上Lazada更偏重自营,类似于亚马逊,自建仓储和为商家提供服务...

春哥大魔王的博客
昨天
62
0
【自用】 Flutter Timer 简单用法

dart: void _startTime() async { _timer = Timer(Duration(seconds: sec), () { fun(xxx,yyy,zzz); }); } @override void dispose() { _timer.cancel()......

Tensor丨思悟
昨天
65
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部