Apress Access

Pro Spring Integration

By Dr Mark Lui , Mario Gray , Andy Chan , Josh Long

  • eBook Price: $41.99
Buy eBook Buy Print Book
Pro Spring Integration tackles the vast world of enterprise application integration (EAI), and focuses specifically on the application of the Spring Integration framework towards solving integration problems.

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-4302-3345-9
  • 664 Pages
  • User Level: Intermediate to Advanced
  • Publication Date: March 23, 2011
  • Available eBook Formats: EPUB, MOBI, PDF

Related Titles

  • Go Recipes
  • Spring Persistence with Hibernate, Second Edition
  • Pro Spring Boot
  • Beginning Hibernate, 4th Edition
  • Reactive Java Programming
Full Description

Pro Spring Integration is an authoritative book from the experts that guides you through the vast world of enterprise application integration (EAI) and application of the Spring Integration framework towards solving integration problems. The book is:

  • An introduction to the concepts of enterprise application integration
  • A reference on building event-driven applications using Spring Integration
  • A guide to solving common integration problems using Spring Integration

What makes this book unique is its coverage of contemporary technologies and real-world information, with a focus on common problems that users are likely to confront. This book zeroes in on extending the Spring Integration framework to meet your custom integration demands.

As Spring Integration is an extension of the Spring programming model, it builds on the Spring Framework's existing support for enterprise integration. This book will take you through all aspects of this relationship and show you how to get the most out of your Spring applications, where integration is a consideration. It discusses simple messaging within Spring-based applications and integration with external systems via simple adapters. Those adapters provide a higher-level of abstraction over Spring's support for remoting, messaging, and scheduling, all of which receives coverage in this book.

What you’ll learn

  • Introduces the wide world of Spring Integration with an overview of application integration, the patterns involved and then quickly moving into applications
  • How to identify integration problems that are best solved using Spring Integration and enterprise application integration (EAI)
  • Discover and apply EAI patterns and related architectural concepts like staged event driven architectures (SEDA)
  • Explore the concepts behind message-oriented middleware (MOM)
  • How to interface with external systems using Spring Integration
  • Extend the Spring Integration stack with custom adapters, endpoints, and more
  • What are the next steps to production with expert insight into error handling, monitoring, management, and scaling the enterprise Java application

Who this book is for

This book is for any developer looking for a more natural way to build event-driven applications using familiar Spring idioms and techniques. The book is also geared towards architects seeking to better their applications and increase productivity in their developers.

Table of Contents

Table of Contents

  1. Enterprise Application Integration Fundamentals
  2. Exploring the Alternatives
  3. Introduction to Core Spring Framework
  4. Introduction to Enterprise Spring
  5. Introduction to Spring Integration
  6. Channels
  7. Transformation and Enrichment
  8. Message Flow: Routing and Filtering
  9. Endpoints and Adapters
  10. Monitoring and Management
  11. Talking to The Metal
  12. Enterprise Messaging with JMS and AMQ
  13. Social Messaging with Email, XMPP, and Twitter
  14. Web Services
  15. Extending Spring Integration
  16. Scaling Your Spring Integration Application
  17. Spring Integration and Spring Batch
  18. Spring Integration and Your Web Application
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.


If you think that you've found an error in this book, please let us know by emailing to editorial@apress.com . You will find any confirmed erratum below, so you can check if your concern has already been addressed.

On page 158:

The example given for introducing JMS into the application doesn't work. While it sends the message it doesn't call the message handler. You can see this by looking at the output; it doesn't contain the "MESSAGE:" part. I believe the jms-spring-context.xml file should look some thing like this:

<int:channel id="input"/>
<int:channel id="jms" />

<jms:outbound-channel-adapter channel="input" destination-name="requestQueue"/>

<jms:message-driven-channel-adapter channel="jms" destination-name="requestQueue"/>

<int:channel id="output">
<int:queue capacity="10"/>

<int:service-activator input-channel="jms"

Since it's the first introduction to using Spring Integration, not having it work, nor explaining how to properly plug JMS into the processing pipe is not ideal.

On page 481:

Listing 14-5
TickerIssuerConfiguration extends CommonConfiguration

CommonConfiguration is not listed elsewhere.

On page 603:
I believe in Listing 18-22, the version of org.springframework:spring-webmvc in the pom.xml should be 3.0.5.RELEASE , not 2.0.1.RELEASE

i.e. incorrect:




    1. PHP Objects, Patterns, and Practice


      View Book

    2. Beginning Android 3D Game Development


      View Book

    3. Troubleshooting Oracle Performance


      View Book

    4. Beginning Amazon Web Services with Node.js


      View Book