Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
How to Create New Components
Clone this wiki locally
In order to simplify the process of writing custom components for Spring Integration, we provide a dedicated Adapter Template for SpringSource Tool Suite (STS). This template is part of the Spring Integation Templates project.
The Spring Integration Adapter Template creates a fully functional Spring Integration Module. The template will create the following commonly used components:
However, even if you create other types of components, this template should give you valuable insights on how to develop those. This template also provides examples on how to provide XML Namespace support, develop the necessary namespace parser classes etc.
In order to use the latest templates you will need to use STS version 3.0.0.M3 or higher. You can download STS from here.
As Spring Integration uses Gradle as its build tool, we generally recommend it also for creating your own templates. As such, the provided Spring Integration Adapter Template uses Gradle as well. Therefore, please make sure that your installation of STS has the Gradle support installed.
Create a Template
- Go File --> New --> Spring Template Project
- The Template Selection screen will appear
- Select Integration --> Spring Integration Adapter Template Project
- Fill out the details of your project
Building a Template
The created template should build successfully from within STS or by executing:
You will see many more available commands with