Spring Integration in Action
Mark Fisher, Jonas Partner, Marius Bogoevici, and Iwein Fuld
Foreword by Rod Johnson
  • September 2012
  • ISBN 9781935182436
  • 368 pages
  • printed in black & white

A wealth of good advice based on experience.

From the Foreword by Rod Johnson, Founder of the Spring Framework

Spring Integration in Action is a hands-on guide to Spring-based messaging and integration. After addressing the core messaging patterns, such as those used in transformation and routing, the book turns to the adapters that enable integration with external systems. Readers will explore real-world enterprise integration scenarios using JMS, Web Services, file systems, and email. They will also learn about Spring Integration's support for working with XML. The book concludes with a practical guide to advanced topics such as concurrency, performance, system-management, and monitoring.

Table of Contents detailed table of contents




about this book

author online

about the authors

about the cover illustration

Part 1 Background

1. Chapter 1 Introduction to Spring Integration

1.1. Spring Integration’s architecture

1.2. Spring Integration’s support for enterprise integration patterns

1.3. Enterprise integration patterns meet Inversion of Control

1.4. Say hello to Spring Integration

1.5. Summary

2. Chapter 2 Enterprise integration fundamentals

2.1. Loose coupling and event-driven architecture

2.2. Synchronous and asynchronous communication

2.3. Comparing enterprise integration styles

2.4. Summary

Part 2 Messaging

3. Chapter 3 Messages and channels

3.1. Introducing Spring Integration messages

3.2. Introducing Spring Integration channels

3.3. Channel collaborators

3.4. Summary

4. Chapter 4 Message Endpoints

4.1. What can you expect of an endpoint?

4.2. Transaction boundaries around endpoints

4.3. Under the hood

4.4. Summary

5. Chapter 5 Getting down to business

5.1. Domain-driven transformation

5.2. Message-driven services

5.3. Message publishing interceptors

5.4. Domain-driven Messaging Gateways

5.5. Chaining endpoints

5.6. Summary

== === Whose message is this, anyway? === Under the hood === Summary

6. Chapter 7 Splitting and aggregating messages

6.1. Introducing correlation

6.2. Splitting, aggregating, and resequencing

6.3. Useful patterns

6.4. Under the hood

6.5. Summary

Part 3 Integrating systems

7. Chapter 8 Handling messages with XML payloads

7.1. XML messaging

7.2. Under the hood

7.3. Summary

8. Chapter 9 Spring Integration and the Java Message Service

8.1. The relationship between Spring Integration and JMS

8.2. JMS support in the Spring Framework

8.3. Asynchronous JMS message reception with Spring

8.4. Sending JMS messages from a Spring Integration application

8.5. Receiving JMS messages in a Spring Integration application

8.6. Request-reply messaging

8.7. Messaging between multiple Spring Integration runtimes

8.8. Managing transactions with JMS channel adapters and gateways

8.9. Summary

9. Chapter 10 Email-based integration

9.1. Sending email

9.2. Receiving email

9.3. Summary

10. Chapter 11 Filesystem integration

10.1. Can you be friends with the filesystem?

10.2. Writing files

10.3. Reading files

10.4. Handling file-based messages

10.5. Under the hood

10.6. Summary

11. Chapter 12 Spring Integration and web services

11.1. XML web services with Spring WS

11.2. Simple HTTP endpoints

11.3. Summary

12. Chapter 13 Chatting and tweeting

12.1. XMPP

12.2. Twitter

12.3. Future directions

12.4. Summary

Part 4 Advanced topics

13. Chapter 14 Monitoring and management

13.1. Message history

13.2. Wire Tap

13.3. JMX support in Spring Integration

13.4. Control Bus

13.5. Under the hood

13.6. Summary

14. Chapter 15 Managing scheduling and concurrency

14.1. Controlling timed events

14.2. Managing concurrency

14.3. Under the hood

14.4. Summary

15. Chapter 16 Batch applications and enterprise integration

15.1. Introducing batch jobs

15.2. Introducing Spring Batch

15.3. Integrating Spring Batch and Spring Integration

15.4. Summary

16. Chapter 17 Scaling messaging applications with OSGi

16.1. The OSGi module system

16.2. Accessing the Service Registry through Gemini Blueprint

16.3. Messaging between bundles

16.4. Summary

17. Chapter 18 Testing

17.1. Matching messages with the Spring Integration testing framework

17.2. Mocking services out of integration tests

17.3. Testing an asynchronous system

17.4. Summary


© 2014 Manning Publications Co.

About the Technology

Spring Integration extends the Spring Framework to support the patterns described in Gregor Hohpe and Bobby Woolf's Enterprise Integration Patterns. Like the Spring Framework itself, it focuses on developer productivity, making it easier to build, test, and maintain enterprise integration solutions.

About the book

Spring Integration in Action is an introduction and guide to enterprise integration and messaging using the Spring Integration framework. The book starts off by reviewing core messaging patterns, such as those used in transformation and routing. It then drills down into real-world enterprise integration scenarios using JMS, Web Services, filesystems, email, and more. You'll find an emphasis on testing, along with practical coverage of topics like concurrency, scheduling, system management, and monitoring.

This book is accessible to developers who know Java. Experience with Spring and EIP is helpful but not assumed.

What's inside

  • Realistic examples
  • Expert advice from Spring Integration creators
  • Detailed coverage of Spring Integration 2 features

About the reader

The book assumes a working knowledge of Java. Prior experience with Spring and enterprise integration patterns is helpful but not required.

About the authors

Mark Fisher is the Spring Integration founder and project lead. Jonas Partner, Marius Bogoevici, and Iwein Fuld have all been project committers and are recognized experts on Spring and Spring Integration.

combo $49.99 pBook + eBook + liveBook
eBook $39.99 pdf + ePub + kindle + liveBook

placing your order...

Don't refresh or navigate away from the page.

FREE domestic shipping on three or more pBooks