Apache Camel v2.8.0发布 非常强大的规则路由及媒介引擎

Apache Camel 是一个非常强大的基于规则的路由以及媒介引擎,该引擎提供了一个基于POJO的 企业应用模式(Enterprise Integration Patterns)的实现,你可以采用其异常强大且十分易用的API (可以说是一种Java的领域定义语言 Domain Specific Language)来配置其路由或者中介的规则。 通过这种领域定义语言,你可以在你的IDE中用简单的Java Code就可以写出一个类型安全并具有一定智能的规则描述文件。这与那种复杂的XML配置相比极大简化了规则定义开发。 当然Apache Camel也提供了一个对Spring 配置文件的支持。

Apache Camel 采用URI来描述各种组件,这样你可以很方便地与各种传输或者消息模块进行交互,其中包含的模块有  HTTP, ActiveMQ, JMS, JBI, SCA, MINA or CXF Bus API。 这些模块是采用可插拔的方式进行工作的。Apache Camel的核心十分小巧你可以很容易地将其集成在各种Java应用中。

Camel 是一个代码先行的工具,它允许开发者在无须学习厂商定制和复杂的底层技术的情况下进行精密的大规模集成。Camel使用Java领域说明性专用语言来连接信息系统和配置路由和调解规则,在POJO基础上实施企业整合模式。这样,就能使得开发人员不必阅读一页又一页的诸如JMS或JBI之类的技术规范,也不用处理较低级别的Spring框架就可以直接设计和建立面向服务架构(SOA)。

Apache Camel是从Apache其他项目尤其是Apache ActiveMQ 以及Apache ServiceMix的代码和灵感有机的衍生出来的。该项目的成员们发现:人们在许多不同的情况下都想要建立或是使用企业集成模式书中的模式。因此,Camel团队就这样明确的目的开始建立这样的框架。

昨天Apache Camel的官方网站公布了最新版的2.7.0,更新日志如下:

·Switched to use slf4j as the logger instead of commons logging.
·Camel now checks state of Service during starting/stopping the Lifecycle of the Service. This avoids double starting/stopping in case the service was already in the desired state.
·Added support for MDC logging with Camel
·JMS consumer now eager checks if Camel is shutting down and signals that to its DefaultMessageListenerContainer which avoids trying to re-connect/failover during shutdown.
·Introduced option to automatic Mock endpoints during testing. This makes testing without having to add Mock endpoints in your routes a breeze. See more details at Mock component documentation.
·Added assertPeriod option to Mock endpoint, which is a period im milliseconds, that the Mock will pause and then re-assert itself to ensure the assertion is still valid. This can be used as a threshold when testing with expectations that exactly a given number of messages should arrive on the Mock endpoint.
·Added arrives DSL to Mock endpoint to allow you to setup expectations about timespan between messages arriving on the Mock endpoint. See more details at Mock component documentation.
·HTTP4 is upgraded to use Apache HttpClient 4.1
·Fixed an issue with File consumer having absolute starting directory and using absolute paths in the move option as well
·Fixed concurrent append to the same file in the File producer
·Fixed issue with restarting Quartz causing a failure due trigger name already exists issue for stateful jobs.
·Its now possible to use multiple QuartzScheduler's when deploying multiple Camel applications in the same JVM classloader.
·Quartz update checker is now always disabled, see more details here
·Fixed potential issue installing camel-ftp feature in Apache ServiceMix
·New JdbcMessageIdRepository for the idempotent consumer EIP in SQL
·Relaxed how aggressive Camel was registering services as MBeans in JMX. Now Camel will by default only registeres MBeans when starting CamelContext or starting new routes. This avoids registering too many MBeans if using dynamic EIP patterns such as Recipient List using different endpoint urls, causing new endpoints and its associated services to be registered in JMX. ·This would keep growing over time and consume memory as well. You can use the registerAlways or registerNewRoutes options on ManagementAgent to control this behavior. See Camel JMX for more details.
·Redelivery policy and OnException now supports property placeholders in both Java and XML DSLs.
·Introduced <redeliveryPolicyProfile> to easily define common profiles for redelivery policies, which you can refer to from <errorHandler> or <onException> using the redeliveryPolicyRef attribute. Also Spring Frameworks property placeholders works with <redeliveryPolicyProfile>.
·Improved the XML based Error Handlers to validate configuration on startup, to fail if they have been misconfigured.
·Spring Integration is upgraded to Spring Integration 2.0.
·Added endChoice() to the Java DSL to be able to use any EIPs inside the Content Based Router. See more details here
·Property placeholders can now be use for any kind of attributes/options in the EIPs in the Camel routes. For example in the ·Spring XML file you can now use placeholders for timeout attributes etc. This is possible using the specialized placeholder namespace. See more details at the Using PropertyPlaceholder wiki page. In the Java DSL there is a new placeholder option on each EIP you can leverage.
·The camel-jdbc-aggregator component is merged into the camel-sql component.
·Fix in Mail component for duplicate attachments, and when using starttls.
·Maven 3 is now supported for building
·Tidy up the XML DSL to not allow nesting tags where it doesn't make sense.
·Internal cleanup in route preparation logic to be fully shared for all DSLs (before the XML DSLs and Java DSL was a bit different)
·Fixed InterceptFrom to work with from endpoints defined using ref's or instances (eg everything but uris)
·Fixed HTTP and HTTP4 producers double encoding endpoint uri, when calling external service
·Fixed JMS producer not working with OracleAQ throwing exception on accessing JMSReplyTo
·Added support for using OSGi Blueprint property placeholder service with Camel routes. Camel uses convention over configuration so all you have to do is to define the OSGi blueprint placeholder and you can refer to those from the <camelContext>. Pay attention to the placeholder tokens using by Camel is {{ }}.
·<threadPoolProfile> and <threadPool> is now easier to use with property placeholders
·Properties component now supports JVM system properties and OS environment variables in the locations option. For example using "file:${karaf.home}/etc/foo.properties" to refer to the foo.proeprties file in the Apache Karaf installation.
·Fixed an issue with Recipient List in parallel mode, not reusing background aggregator thread
·Fixed an issue with dependency ordering when using Spring's depends-on attribute between multiple <camelContext>.
·SERVLET component doesn't hijack Spring to start the web application anymore. Spring and CamelServlet is now independent. See more at important changes to consider when upgrading.
·Fixed all Camel Maven Archetypes to use new Maven format and ensured they all work out of the box.
·Web Console upgraded to Scalate 1.4.1, and the webpages is now precompiled
·JT400 can now execute program calls on the AS/400
·Cache now only mandates a message body for the add and update operations. This makes get operation possible for messages with no existing body.
·Fixed issue when Jetty continuation timeouts has been triggered before Asynchronous Routing Engine has reply ready. This would cause Jetty to log WARN logs about illegal state.

下载地址:

Description Download Link PGP Signature file of download Windows Distribution apache-camel-2.7.0.zip apache-camel-2.7.0.zip.asc Unix/Linux/Cygwin Distribution apache-camel-2.7.0.tar.gz apache-camel-2.7.0.tar.gz.asc

时间: 2024-08-01 13:05:41

Apache Camel v2.8.0发布 非常强大的规则路由及媒介引擎的相关文章

Apache Camel 2.15.0 发布,Java 规则引擎

Apache Camel 2.15.0 发布啦!!!该版本经过 6 个月开发,修复了超过 500 个 bug.但最值得关注的是给我们带来的新特性: 自文档 目录组件 Camel 工具类目录 重用 Camel 命令 Camel Boot / Spring Boot 改进 REST DSL 改进 路由引擎优化 为消息提供更详细信息 XML 中的 endpoints 配置内容允许分行书写 个新的组件 文章转载自 开源中国社区 [http://www.oschina.net]

Apache Lucene 6.6.0 发布,Java 搜索引擎

Apache Lucene 6.6.0 发布了,值得关注的更新是: 添加一个并发的 SortedSet facets 实现 还包括许多 Bug 修复.改进.优化和其他的更新,详情点此参阅. 下载地址 Lucene 是 Apache 软件基金会的一个开放源代码的全文检索引擎工具包,是一个全文检索引擎的架构,提供了完整的查询引擎和索引引擎,部分文本分析引擎.Lucene 的目的是为软件开发人员提供一个简单易用的工具包,以方便的在目标系统中实现全文检索的功能,或者是以此为基础建立起完整的全文检索引擎.

Apache Solr 5.4.0 发布,全文搜索服务器

Apache Solr 5.4.0 发布,现已提供下载: http://lucene.apache.org/solr/mirrors-solr-latest-redir.html 更新日志: https://lucene.apache.org/solr/5_4_0/changes/Changes.html Solr 5.4 值得关注的改进 新特性 UI 改进 The re-architected Admin UI is now prominently linked to from theexis

Total.js 框架 v2.6.0 发布,Node.js 的 MVC 框架

Total.js 框架 v2.6.0 发布了,Total.js 是一个 web 应用框架,使用 JavaScript,HTML,CSS 和 Node.js(MVC) web 应用框架来构建 web 网站和 web 应用.更新如下: News: added: F.config['default-errorbuilder-status'] a default HTTP status for all error builders default 200 added: F.config['default

Apache Lucene 5.4.0 发布,Java 搜索引擎

Apache Lucene 5.4.0 发布,此版本包括大量的 bug 修复,优化和改进,现已提供下载: http://lucene.apache.org/core/mirrors-core-latest-redir.html 更新说明:https://lucene.apache.org/core/5_4_0/changes/Changes.html Lucene 5.4.0 值得关注的改进: API 改进 Query.getBoost and Query.setBoost are deprec

opendkim v2.3.0发布 开源的DKIM发送者认证系统

OpenDKIM 是一个开源的DKIM发送者认证系统的C语言实现.DKIM(DomainKeys Identified Mail)是一种电子邮件的验证技术,使用密码学的基础提供了签名与验证的功能.一般来说,发送方会在电子邮件的标头插入DKIM-Signature及电子签名资讯.而接收方则透过DNS查询得到公开金钥后进行验证. DKIM是由DomainKeys所改进的协定,大多数的运作方式与DomainKeys相同.在2007年2月时,DKIM被列入互联网工程工作小组(IETF)的标准提案(Pro

DB Solo v4.0发布 功能强大经济型跨平台数据库开发和管理工具

对数据库开发者和数据库管理员两者而言,DB Solo都是一款经济且http://www.aliyun.com/zixun/aggregation/17547.html">功能强大的跨平台数据库开发和管理工具(非开源).由于其丰富的功能设置,它与价格更高的其他同等级工具相比毫不逊色.DB Solo拥有直观的用户界面,能让你考察和管理数据库对象,也可执行你自己的ad-hoc查询.DB Solo支持现今各主流操作系统和DBMS产品. DB Solo - The SQL Query Tool is

PacketFence v2.2.0发布 开源NAC网络接入控制

Packetfence是一个网络工作接口控制系统,提供了DHCP指纹和注册,检测反常的网络工作活动,那些容易被攻击,隔离有问题的设备并且通过入口就行修正. PacketFence是开源NAC (网络接入控制) 中的佼佼者,它可靠.容易配置,且构建于未修改的开源代码之上(Fedora, LAMP, Perl,Php and Snort).PacketFence的设计目的是要在不同种类的环境中运行,并且它使用了"不可知厂商隔离"(vendor-agnostic isolation)技术,其

Apache Jackrabbit v2.2.1发布 JSR-170的开放源码实现

Apache Jackrabbit 是由 http://www.aliyun.com/zixun/aggregation/14417.html">Apache Foundation 提供的 JSR-170 的开放源码实现.Apache Jackrabbit is a fully conforming implementation of the Content Repository for Java Technology API (JCR, specified in JSR 170 and