Spring Integration Reference Manual

Mark Fisher

Marius Bogoevici

Iwein Fuld

Jonas Partner

Oleg Zhurakousky

Spring Integration

1.0.3

© SpringSource Inc., 2009


Table of Contents

1. Spring Integration Overview
1.1. Background
1.2. Goals and Principles
1.3. Main Components
1.4. Message Endpoints
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.2. Message Channel Implementations
3.3. Channel Interceptors
3.4. MessageChannelTemplate
3.5. Configuring Message Channels
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.2. The <router> element
7.3. The @Router Annotation
8. Filter
8.1. Introduction
8.2. The <filter> Element
9. Transformer
9.1. Introduction
9.2. The <transformer> Element
9.3. The @Transformer Annotation
10. Splitter
10.1. Introduction
10.2. Programming model
10.3. Configuring a Splitter using XML
10.4. Configuring a Splitter with Annotations
11. Aggregator
11.1. Introduction
11.2. Functionality
11.3. Programming model
11.4. Configuring an Aggregator with XML
11.5. Configuring an Aggregator with Annotations
12. Resequencer
12.1. Introduction
12.2. Functionality
12.3. Configuring a Resequencer with XML
13. Delayer
13.1. Introduction
13.2. The <delayer> Element
14. Message Handler Chain
14.1. Introduction
14.2. The <chain> Element
15. Messaging Bridge
15.1. Introduction
15.2. The <bridge> Element
16. Inbound Messaging Gateways
16.1. SimpleMessagingGateway
16.2. GatewayProxyFactoryBean
17. File Support
17.1. Introduction
17.2. Reading Files
17.3. Writing files
17.4. File Transformers
18. JMS Support
18.1. Inbound Channel Adapter
18.2. Message-Driven Channel Adapter
18.3. Outbound Channel Adapter
18.4. Inbound Gateway
18.5. Outbound Gateway
18.6. JMS Samples
19. Web Services Support
19.1. Outbound Web Service Gateways
19.2. Inbound Web Service Gateways
19.3. Web Service Namespace Support
20. RMI Support
20.1. Introduction
20.2. Outbound RMI
20.3. Inbound RMI
20.4. RMI namespace support
21. HttpInvoker Support
21.1. Introduction
21.2. HttpInvoker Inbound Gateway
21.3. HttpInvoker Outbound Gateway
21.4. HttpInvoker Namespace Support
22. HTTP Support
22.1. Introduction
22.2. Http Inbound Gateway
22.3. Http Outbound Gateway
22.4. Http Namespace Support
23. Mail Support
23.1. Mail-Sending Channel Adapter
23.2. Mail-Receiving Channel Adapter
23.3. Mail Namespace Support
24. Stream Support
24.1. Introduction
24.2. Reading from streams
24.3. Writing to streams
24.4. Stream namespace support
25. Spring ApplicationEvent Support
25.1. Receiving Spring ApplicationEvents
25.2. Sending Spring ApplicationEvents
26. Dealing with XML Payloads
26.1. Introduction
26.2. Transforming xml payloads
26.3. Namespace support for xml transformers
26.4. Splitting xml messages
26.5. Routing xml messages using XPath
26.6. Selecting xml messages using XPath
26.7. XPath components namespace support
27. Security in Spring Integration
27.1. Introduction
27.2. Securing channels
A. Spring Integration Samples
A.1. The Cafe Sample
A.2. The XML Messaging Sample
A.3. The OSGi Samples
B. Configuration
B.1. Introduction
B.2. Namespace Support
B.3. Configuring the Task Scheduler
B.4. Error Handling
B.5. Annotation Support
C. Additional Resources
C.1. Spring Integration Home