Spring Integration Reference Manual

Mark Fisher

Marius Bogoevici

Iwein Fuld

Jonas Partner

Spring Integration

1.0.0.RC1 (Release Candidate 1)

© SpringSource Inc., 2008


Table of Contents

1. Spring Integration Overview
1.1. Background
1.2. Goals and Principles
1.3. Main Components
1.3.1. Message
1.3.2. Message Channel
1.3.3. Message Endpoint
1.4. Message Endpoints
1.4.1. Transformer
1.4.2. Filter
1.4.3. Router
1.4.4. Splitter
1.4.5. Aggregator
1.4.6. Service Activator
1.4.7. Channel Adapter
2. Message Construction
2.1. The Message Interface
2.2. Message Headers
2.3. Message Implementations
2.4. The MessageBuilder Helper Class
3. Message Channels
3.1. The MessageChannel Interface
3.1.1. PollableChannel
3.1.2. SubscribableChannel
3.2. Message Channel Implementations
3.2.1. PublishSubscribeChannel
3.2.2. QueueChannel
3.2.3. PriorityChannel
3.2.4. RendezvousChannel
3.2.5. DirectChannel
3.2.6. ThreadLocalChannel
3.3. Channel Interceptors
3.4. MessageChannelTemplate
3.5. Configuring Message Channels
3.5.1. DirectChannel Configuration
3.5.2. QueueChannel Configuration
3.5.3. PublishSubscribeChannel Configuration
3.5.4. PriorityChannel Configuration
3.5.5. RendezvousChannel Configuration
3.5.6. ThreadLocalChannel Configuration
4. Message Endpoints
4.1. Message Handler
4.2. Event-Driven Consumer
4.3. Polling Consumer
4.4. Namespace Support
5. Service Activator
5.1. Introduction
5.2. The <service-activator/> Element
6. Channel Adapter
6.1. The <inbound-channel-adapter> element
6.2. The <outbound-channel-adapter/> element
7. Router
7.1. Router Implementations
7.1.1. PayloadTypeRouter
7.1.2. RecipientListRouter
7.2. The <router> element
7.3. The @Router Annotation
8. Transformer
8.1. Introduction
8.2. The <transformer> Element
8.3. The @Transformer Annotation
9. Splitter
9.1. Introduction
9.2. Functionality
9.3. Programming model
9.4. Configuring a Splitter using XML
9.5. Configuring a Splitter with Annotations
10. Aggregator
10.1. Introduction
10.2. Functionality
10.3. Programming model
10.4. Configuring an Aggregator with XML
10.5. Configuring an Aggregator with Annotations
11. Resequencer
11.1. Introduction
11.2. Functionality
11.3. Configuring a Resequencer with XML
12. File Support
12.1. Introduction
12.2. Reading Files
12.3. Writing files
12.4. File Transformers
13. JMS Support
13.1. Inbound Channel Adapter
13.2. Outbound Channel Adapter
13.3. Inbound Gateway
13.4. Outbound Gateway
13.5. JMS Samples
14. Web Services Support
14.1. Outbound Web Service Gateways
14.2. Web Service Namespace Support
15. RMI Support
15.1. Introduction
15.2. Outbound RMI
15.3. Inbound RMI
15.4. RMI namespace support
16. HttpInvoker Support
16.1. Introduction
16.2. HttpInvoker Inbound Gateway
16.3. HttpInvoker Outbound Gateway
16.4. HttpInvoker Namespace Support
17. Mail Support
17.1. Mail-Sending Channel Adapter
17.2. Mail Namespace Support
18. Stream Support
18.1. Introduction
18.2. Reading from streams
18.3. Writing to streams
18.4. Stream namespace support
19. Spring ApplicationEvent Support
20. Dealing with XML Payloads
20.1. Introduction
20.2. Transforming xml payloads
20.3. Namespace support for xml transformers
20.4. Splitting xml messages
20.5. Routing xml messages using XPath
20.6. Selecting xml messages using XPath
20.7. XPath components namespace support
21. Security in Spring Integration
21.1. Introduction
21.2. Securing channels
A. Spring Integration Samples
A.1. The Cafe Sample
B. Configuration
B.1. Introduction
B.2. Namespace Support
B.3. Configuring the Message Bus
B.4. Annotation Support
C. Additional Resources
C.1. Spring Integration Home