Creating Custom Components

ghillert edited this page Jan 24, 2012 · 1 revision


Package Structure

Each component using its own name-spaced Root package. For example:

  • org.springframework.integration.jms
  • org.springframework.integration.core
  • org.springframework.integration.ftp ...

Components may typically contain the following packages:

  • inbound
  • outbound
  • core (for classes used commonly by inbound and outbound
  • support (Helper classes for support)
  • mapping
  • config

The root package should not contain much, possibly just exceptions or base interfaces

Providing XML Namespace Support

Creating Namespace Handlers

Writing Unit Tests

Writing Documentation