spring-integration
spring-integration copied to clipboard
Standardize Package Structure across Modules [INT-2389]
Gunnar Hillert opened INT-2389 and commented
Going through the package structures, it seems that SI Modules generally follow a defined package structure, e.g. org.springframework.integration.<module_name>.config etc.
It seems, though, we have certain deviations e.g. putting stuff into the module root package versus having a "core" package.
This might also be something to think about, when we create a common guideline/documentation for writing custom components.
Some common package structures:
- "inbound"
- "outbound"
- "core" (for common)
- "support" if even core needs something
- "mapping"
- "config"
- The "root" package should contain only exceptions and possibly base interfaces
Affects: 2.1 RC2
Artem Bilan commented
The modules which are still suffering from wrong package structure:
- [x]
spring-integration-ws - [x]
spring-integration-stream - [x]
spring-integration-sftp- thegatewaymust go into anoutbound - [x]
spring-integration-mail - [x]
spring-integration-jmx - [x]
spring-integration-jms - [x]
spring-integration-jdbc - [x]
spring-integration-ip - [x]
spring-integration-file - [x]
spring-integration-ftp- thegatewaymust go into anoutbound