Skip to content

Standardize Package Structure across Modules [INT-2389] #6375

Open
@spring-operator

Description

@spring-operator

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions