news 2026/4/20 3:51:13

“Community-Driven Spring Integration Extensions”(社区驱动的 Spring Integration 扩展)是指由 Spring 社区

作者头像

张小明

前端开发工程师

1.2k 24
文章封面图
“Community-Driven Spring Integration Extensions”(社区驱动的 Spring Integration 扩展)是指由 Spring 社区

“Community-Driven Spring Integration Extensions”(社区驱动的 Spring Integration 扩展)是指由 Spring 社区(而非 Spring 官方核心团队)开发、维护和贡献的一系列补充性模块,用于增强 Spring Integration 的功能边界,支持更多企业集成场景(如特定协议适配、云服务连接器、消息中间件桥接等)。这些扩展通常以独立的 GitHub 仓库形式存在,遵循 Spring Integration 的编程模型(如MessageHandlerMessageSourceChannel等抽象),并兼容 Spring Boot 自动配置。

典型示例包括:

  • Spring Integration AWS(由社区主导演进,后部分被纳入 Spring Cloud AWS):提供 S3、SQS、SNS 等 AWS 服务的入站/出站集成;
  • Spring Integration RabbitMQ Extensions(非官方但广泛使用的增强包):支持延迟队列、死信路由策略封装等;
  • Spring Integration Zulip / Discord / Telegram 扩展:由个人或小团队维护的聊天平台消息收发组件;
  • Spring Integration JDBC Extensions(如高级批量写入、变更数据捕获 CDC 支持):补充标准JdbcMessageStoreJdbcChannelMessageStore的能力。

这些扩展通常通过 Maven 引入(如org.springframework.integration.extensions:spring-integration-aws),需注意版本兼容性(应匹配所用 Spring Integration 主版本,如 6.x)及维护活跃度(查看 GitHub stars、最近 commit、Issue 响应等)。

<!-- 示例:引入社区维护的 Spring Integration AWS 扩展 --><dependency><groupId>org.springframework.integration.extensions</groupId><artifactId>spring-integration-aws</artifactId><version>3.1.0</version><!-- 注意:需与 Spring Integration 6.1+ 兼容 --></dependency>

Community-Driven Spring Integration Extensions
The Spring Integration team proudly announces the availability of the Spring Integration Extensions repository. The main goal for this new GitHub-based repository is to promote a vibrant community of adapter and extension developers, and to encourage a broader segment of the community to contribute to the project. The Spring Integration Extensions project is hosted at:

https://github.com/SpringSource/spring-integration-extensions

This new repository will give us the flexibility to incorporate new contributions much more rapidly, without having to go through the core Spring Integration framework’s stricter vetting process. Since each community contributed extension is a separate project in the Spring Integration Extensions repository, it will have its own release life-cycle independent from the one that governs the core Spring Integration framework. As a result, this will allow for more frequent releases.

Over time, we expect that some of the lesser used Spring Integration modules may transition into the Extensions repository. On the other hand, for some extension modules, the Spring Integration Extensions project may also serve as an incubator, whereby they may eventually be incorporated into the core Spring Integration framework.

Thanks to several community contributions, the new repository already provides several adapters such as the XQuery Adapter (incl. support for XPath 2.0) and the SMB Adapter. Several adapters around Amazon Web Services (AWS) will be added in the coming weeks (Amazon S3, Amazon SNS, Amazon SQS). Furthermore, we are providing an early version of a Print Adapter and we are also working on an adapter providing WebSocket support using Atmosphere.

How Can I Become a Contributor?

If you have an idea regarding new extensions and/or adapters, please feel free to file a JIRA ticket. If you have already created an extension module and you want to contribute code, please fork the Spring Integration Extensions repository, add your module and issue a pull request. Before we can merge your code, though, you have to fill out the Contributor License Agreement. Once submitted, we and/or other community members will review your pull request and merge it. For much more detailed information, please take a closer look at the Contributor Guidelines for the Spring Integration Extensions project.

Creating New Spring Integration Extension Modules

One of the more popular extension types are Spring Integration Adapters. In order to simplify the process of writing custom adapters for Spring Integration, we now provide an Adapter Template for SpringSource Tool Suite (STS) 3.0.0. This template will make it very easy for contributors to build out new adapters quickly, while still ensuring consistency with those provided in the core Spring Integration framework (package structure, naming conventions, namespace handlers/parsers, etc).

The Spring Integration Adapter Template, which is part of the Spring Integration Templates project, creates a fully functional Spring Integration Module, and the template will create the following commonly used components:

Inbound Channel Adapter Outbound Channel Adapter Outbound Gateway

The template will not only create the core Java classes and some basic unit tests, but it will also provide XML Namespace support, which includes the XML Schema and the associated parser classes. Even if you create other types of components, this template should still give you valuable insights into how to develop those. For more information on using STS Templates for Spring Integration, please see the following blog posting:

Creating Spring Integration Projects Using STS.

The created adapter project will use Gradle as its build tool, and it closely follows the build tasks as defined for Spring Integration:
Build the Adapter project

$ ./gradlew build

Install the Adapter project to your local Maven repository

$ ./gradlew install

Generate the JavaDoc

$ ./gradlew api

Generate metrics using Sonar

$ ./gradlew sonar

Build the complete distribution

$ ./gradlew dist

For more information please see How to Create New Components on the Spring Integration Extensions Wiki.

Further Resources

JIRA Forums Build Server Metrics

Spring Integration GitHub Repositories

For completeness, here is a list of all Spring Integration relevant GitHub repositories:

Spring Integration Spring Integration Extensions Spring Integration Samples Spring Integration Templates Spring Integration Dsl Groovy Spring Integration Dsl Scala

Spring集成团队自豪地宣布Spring集成扩展库的可用性。这个新的基于GitHub的存储库的主要目标是促进一个充满活力的适配器和扩展开发人员社区,并鼓励社区中更广泛的部分为项目做出贡献。Spring集成扩展项目位于:
https://github.com/SpringSource/spring-integration-extensions网站
这个新的存储库将为我们提供更快速地合并新贡献的灵活性,而不必经过核心Spring集成框架更严格的审查过程。由于每个社区贡献的扩展都是Spring集成扩展库中的一个单独项目,因此它将拥有自己的发布生命周期,独立于管理核心Spring集成框架的发布生命周期。因此,这将允许更频繁的发布。
随着时间的推移,我们预计一些使用较少的Spring集成模块可能会转换到扩展库中。另一方面,对于一些扩展模块,Spring集成扩展项目也可以充当孵化器,从而最终将它们合并到核心Spring集成框架中。
由于一些社区贡献,新的存储库已经提供了几个适配器,如XQuery适配器(包括对XPath的支持2.0条)和SMB适配器。在未来几周内,亚马逊网络服务(AWS)将增加几个适配器(Amazon S3、Amazon SNS、Amazon SQS)。此外,我们正在提供打印适配器的早期版本,并且我们还在使用Atmosphere开发提供WebSocket支持的适配器。

版权声明: 本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
网站建设 2026/4/20 3:47:21

虚拟机安装Ubuntu 24.04.x及其常用软件(2026.4)

此次更新把安卓模拟器&#xff0c;烧录工具&#xff0c;无效软件&#xff0c;以及收费软件等不常用软件去除&#xff0c;另外更新了一些下载链接&#xff0c;删除了一些和配置无关的图片。 目录 1 系统安装篇 1.1 安装VMWare Workstation Pro 1.2 下载Ubuntu 24.04.x安装镜…

作者头像 李华
网站建设 2026/4/20 3:43:22

题解:AcWing 532 货币系统

本文分享的必刷题目是从蓝桥云课、洛谷、AcWing等知名刷题平台精心挑选而来,并结合各平台提供的算法标签和难度等级进行了系统分类。题目涵盖了从基础到进阶的多种算法和数据结构,旨在为不同阶段的编程学习者提供一条清晰、平稳的学习提升路径。 欢迎大家订阅我的专栏:算法…

作者头像 李华
网站建设 2026/4/20 3:41:47

PyRobot故障排除大全:解决常见问题的完整解决方案

PyRobot故障排除大全&#xff1a;解决常见问题的完整解决方案 【免费下载链接】pyrobot PyRobot: An Open Source Robotics Research Platform 项目地址: https://gitcode.com/gh_mirrors/pyr/pyrobot PyRobot是一个开源机器人研究平台&#xff0c;为机器人开发提供了便…

作者头像 李华
网站建设 2026/4/20 3:41:44

OpenTelemetry Java入门指南:5分钟快速搭建分布式监控系统

OpenTelemetry Java入门指南&#xff1a;5分钟快速搭建分布式监控系统 【免费下载链接】opentelemetry-java OpenTelemetry Java SDK 项目地址: https://gitcode.com/gh_mirrors/op/opentelemetry-java OpenTelemetry Java SDK是一款强大的开源工具&#xff0c;专为构建…

作者头像 李华
网站建设 2026/4/20 3:39:16

题解:洛谷 P5689 [CSP-S2019 江西] 多叉堆

本文分享的必刷题目是从蓝桥云课、洛谷、AcWing等知名刷题平台精心挑选而来,并结合各平台提供的算法标签和难度等级进行了系统分类。题目涵盖了从基础到进阶的多种算法和数据结构,旨在为不同阶段的编程学习者提供一条清晰、平稳的学习提升路径。 欢迎大家订阅我的专栏:算法…

作者头像 李华
网站建设 2026/4/20 3:38:14

InstallWithOptions与工作配置文件:解决权限限制的完整方案

InstallWithOptions与工作配置文件&#xff1a;解决权限限制的完整方案 【免费下载链接】InstallWithOptions Simple-ish app using Shizuku to install APKs on-device with advanced options 项目地址: https://gitcode.com/gh_mirrors/in/InstallWithOptions Install…

作者头像 李华