Contents


foreword
preface
acknowledgments
about this book
author online
about the authors
about the cover illustration

Part 1 Background

Chapter 1 Introduction to Spring Integration
Spring Integration’s architecture
Spring Integration’s support for enterprise integration patterns
Enterprise integration patterns meet Inversion of Control
Say hello to Spring Integration
Summary
Chapter 2 Enterprise integration fundamentals
Loose coupling and event-driven architecture
Synchronous and asynchronous communication
Comparing enterprise integration styles
Summary

Part 2 Messaging

Chapter 3 Messages and channels
Introducing Spring Integration messages
Introducing Spring Integration channels
Channel collaborators
Summary
Chapter 4 Message Endpoints
What can you expect of an endpoint?
Transaction boundaries around endpoints
Under the hood
Summary
Chapter 5 Getting down to business
Domain-driven transformation
Message-driven services
Message publishing interceptors
Domain-driven Messaging Gateways
Chaining endpoints
Summary
Chapter 6 Go beyond sequential processing: routing and filtering
Do you want to get this message?
Whose message is this, anyway?
Under the hood
Summary
Chapter 7 Splitting and aggregating messages
Introducing correlation
Splitting, aggregating, and resequencing
Useful patterns
Under the hood
Summary

Part 3 Integrating systems

Chapter 8 Handling messages with XML payloads
XML messaging
Under the hood
Summary
Chapter 9 Spring Integration and the Java Message Service
The relationship between Spring Integration and JMS
JMS support in the Spring Framework
Asynchronous JMS message reception with Spring
Sending JMS messages from a Spring Integration application
Receiving JMS messages in a Spring Integration application
Request-reply messaging
Messaging between multiple Spring Integration runtimes
Managing transactions with JMS channel adapters and gateways
Summary
Chapter 10 Email-based integration
Sending email
Receiving email
Summary
Chapter 11 Filesystem integration
Can you be friends with the filesystem?
Writing files
Reading files
Handling file-based messages
Under the hood
Summary
Chapter 12 Spring Integration and web services
XML web services with Spring WS
Simple HTTP endpoints
Summary
Chapter 13 Chatting and tweeting
XMPP
Twitter
Future directions
Summary

Part 4 Advanced topics

Chapter 14 Monitoring and management
Message history
Wire Tap
JMX support in Spring Integration
Control Bus
Under the hood
Summary
Chapter 15 Managing scheduling and concurrency
Controlling timed events
Managing concurrency
Under the hood
Summary
Chapter 16 Batch applications and enterprise integration
Introducing batch jobs
Introducing Spring Batch
Integrating Spring Batch and Spring Integration
Summary
Chapter 17 Scaling messaging applications with OSGi
The OSGi module system
Accessing the Service Registry through Gemini Blueprint
Messaging between bundles
Summary
Chapter 18 Testing
Matching messages with the Spring Integration testing framework
Mocking services out of integration tests
Testing an asynchronous system
Summary

 
index