ApacheCamel入门


Apache Camel是一个功能强大的开源集成框架,基于已知的企业集成模式和强大的bean集成。

  1. 介绍

Camel允许您创建企业集成模式,以基于Java的域特定语言(或Fluent API),基于Spring或Blueprint的Xml配置文件或通过Scala DSL实现路由和中介规则。这意味着无论是在Java,Scala还是XML编辑器中,您都可以在IDE中智能地完成路由规则。
Apache Camel使用URI,因此它可以轻松地与任何类型的传输或消息传递模型(如HTTP,ActiveMQ,JMS,JBI,SCA,MINA或CXF)一起使用,同时使用可插入的数据格式选项。 Apache Camel是一个小型库,具有最小的依赖性,可以轻松嵌入任何Java应用程序。无论使用何种传输方式,Apache Camel都允许您使用相同的API,因此请学习API一次,您将能够与开箱即用的所有组件进行交互。
Apache Camel具有强大的Bean绑定功能,可与Spring,CDI,Blueprint和Guice等流行框架无缝集成。
Apache Camel拥有广泛的测试支持,可让您轻松地对路线进行单元测试。

  1. 组件

Apache Camel附带了许多包含组件,数据格式,语言和各种其他类型的工件。最新列表可在线获取:
组件:https://github.com/apache/camel/tree/master/components/readme.adoc#components
数据格式:https://github.com/apache/camel/tree/master/components/readme.adoc#data-formats
语言:https://github.com/apache/camel/tree/master/components/readme.adoc#expression-languages
其他:https://github.com/apache/camel/tree/master/components/readme.adoc#miscellaneous-components

  1. 例子

Apache Camel附带了很多例子。最新列表可在线获取:
示例:https://github.com/apache/camel/tree/master/examples#examples
为帮助您入门,请尝试以下链接:
http://camel.apache.org/getting-started.html
还建议您尝试一些初学者示例。
示例:https://github.com/apache/camel/tree/master/examples/README.adoc#examples
Build
http://camel.apache.org/building.html

  1. 捐款

我们欢迎各种贡献,详细说明如何提供帮助
https://github.com/apache/camel/blob/master/CONTRIBUTING.md
有关查找问题跟踪器,电子邮件列表,IRC和Gitter聊天的详细信息,请参阅网站
网站:http://camel.apache.org/
Github:https://github.com/apache/camel
问题跟踪器:https://issues.apache.org/jira/projects/CAMEL
邮件列表:http://camel.apache.org/mailing-lists.html
IRC聊天:http://camel.apache.org/irc-room.html
Gitter聊天:https://gitter.im/apache/apache-camel
Twitter:https://twitter.com/ApacheCamel

  1. 支持

如果您需要支持或帮助,请先阅读本页
http://camel.apache.org/support.html

  1. 论坛

如果您遇到任何问题,请在Camel论坛上与我们联系
http://camel.apache.org/discussion-forums.html
请帮助我们更好地使Apache Camel - 我们感谢您提供的任何反馈。

  1. 许可

本软件根据您在此目录中名为LICENSE.txt的文件中找到的条款获得许可。
此分发包括加密软件。您目前居住的国家/地区可能对加密软件的进口,拥有,使用和/或再出口到另一个国家/地区有限制。在使用任何加密软件之前,请检查您所在国家/地区有关加密软件的导入,拥有,使用和再出口的法律,法规和政策,以确定是否允许这样做。有关更多信息,请访问http://www.wassenaar.org/。
美国政府商务部,工业和安全局(BIS)将该软件归类为出口商品管理编号(ECCN)5D002.C.1,其中包括使用或执行具有非对称算法的加密功能的信息安全软件。此Apache Software Foundation分发版的形式和方式使其有资格根据许可证例外ENC技术软件无限制(TSU)例外(参见BIS出口管理条例,第740.13节)导出目标代码和源代码。

8.## 以下提供了有关包含的加密软件的更多详细信息:
camel-ahc可以配置为使用https
camel-atmosphere-websocket可用于安全通信
camel-crypto可用于安全通信
camel-cxf可以配置为安全通信
camel-ftp可以配置为安全通信
camel-http可以配置为使用https
camel-http4可以配置为使用https
camel-infinispan可以配置为安全通信
camel-jasypt可用于安全通信

ApacheCamel架构

Camel uses a Java based Routing Domain Specific Language (DSL) or an Xml Configuration to configure routing and mediation rules which are added to a CamelContext to implement the various Enterprise Integration Patterns.
Camel使用基于Java的路由域特定语言(DSL)或Xml配置来配置路由和中介规则,这些规则被添加到CamelContext以实现各种企业集成模式。
At a high level Camel consists of a CamelContext which contains a collection of Component instances. A Component is essentially a factory of Endpoint instances. You can explicitly configure Component instances in Java code or an IoC container like Spring or Guice, or they can be auto-discovered using URIs.
在高层,Camel由CamelContext组成,其中包含一组Component实例。 Component本质上是端点实例的工厂。您可以在Java代码或Spring或Guice等IoC容器中显式配置组件实例,也可以使用URI自动发现它们。
An Endpoint acts rather like a URI or URL in a web application or a Destination in a JMS system; you can communicate with an endpoint; either sending messages to it or consuming messages from it. You can then create a Producer or Consumer on an Endpoint to exchange messages with it.
端点的行为非常类似于Web应用程序中的URI或URL或JMS系统中的目标;你可以与端点通信;向其发送消息或从消息中消息。然后,您可以在端点上创建生产者或使用者以与其交换消息。
The DSL makes heavy use of pluggable Languages to create an Expression or Predicate to make a truly powerful DSL which is extensible to the most suitable language depending on your needs. The following languages are supported
DSL大量使用可插入语言来创建Expression或Predicate,以制作真正强大的DSL,可根据您的需要扩展为最合适的语言。
架构图

  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值