spring-integration icon indicating copy to clipboard operation
spring-integration copied to clipboard

Standardize Package Structure across Modules [INT-2389]

Open spring-operator opened this issue 14 years ago • 1 comments

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

spring-operator avatar Jan 05 '12 14:01 spring-operator

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 - the gateway must go into an outbound
  • [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 - the gateway must go into an outbound

spring-operator avatar Dec 06 '22 22:12 spring-operator