Just Spring Integration

Book description

Get started with Spring Integration, the lightweight Java-based framework that makes designing and developing message-oriented architectures a breeze. Through numerous examples, you’ll learn how to use this open source framework’s basic building blocks to work with both inter- and intra-application programming models.

If you’re a Java developer familiar with the Spring framework (perhaps through O’Reilly’s Just Spring tutorial) and want to advance your skills with Enterprise Application Integration (EAI) patterns, and messaging systems in particular, this book is ideal.

  • Learn Spring Integration fundamentals, including channels, endpoints, and messages
  • Use message channels to decouple applications, separating producers from consumers
  • Discover how common endpoint patterns separate a messaging application’s business logic from integration details
  • Create a seamless integration between the endpoints, using Transformers
  • Implement Spring Integration’s flow components to design your messaging application’s business flow
  • Configure the framework’s File, FTP, JMS, and JDBC adapters to integrate with external systems

Publisher resources

View/Submit Errata

Table of contents

  1. Just Spring Integration
  2. SPECIAL OFFER: Upgrade this ebook with O’Reilly
  3. A Note Regarding Supplemental Files
  4. Foreword
  5. Preface
    1. Conventions Used in This Book
    2. Using Code Examples
    3. Safari® Books Online
    4. How to Contact Us
    5. Acknowledgments
  6. 1. Integration Fundamentals
    1. Introduction
    2. Integration Strategies
      1. Messaging Patterns
      2. Traditional Programming Model
    3. Standalone Messaging Model
    4. Summary
  7. 2. Basics
    1. Introduction
    2. Messages
      1. Dissecting a Message
      2. Generic Implementation
    3. Message Channels
      1. Declaring Channels
    4. Endpoints
      1. Service Activator Endpoint Example
      2. Example
    5. Summary
  8. 3. Message Channels
    1. Introduction
    2. Message Channels
      1. Receiving Messages
        1. Point-to-Point Mode
        2. P2P Example
        3. Pub/Sub Mode
        4. Pub/Sub Example
      2. Queue Channel
      3. Priority Channel
      4. Rendezvous Channel
      5. PublishSubscribe Channel
      6. Direct Channel
      7. Executor Channel
      8. Null Channel
    3. Summary
  9. 4. Endpoints
    1. Introduction
    2. Common Endpoints
      1. Service Activator
      2. Message Bridge
      3. Message Enricher
        1. Header Enricher
        2. Payload Enricher
      4. Gateway
        1. Synchronous Gateway
        2. Asynchronous Gateway
      5. Delayer
    3. Spring Expressions
    4. Scripting Support
    5. For the Curious: Endpoint API
      1. Consumers
        1. Polling Consumers
          1. Polling Using Triggers
        2. Event-Driven Consumers
    6. Summary
  10. 5. Transformers
    1. Introduction
    2. Built-In Transformers
      1. String Transformers
      2. Map Transformers
      3. Serializing and Deserializing Transformers
      4. JSON Transformers
      5. XML Transformers
      6. XPath Transformers
    3. Custom Transformers
      1. Trade Map Transformer
      2. String Transformer
    4. Using Annotations
    5. Summary
  11. 6. Flow Components
    1. Introduction
    2. Filters
      1. Using Custom Filters
      2. Using Framework’s MessageSelector
      3. Using Annotations
      4. Discarded Messages
    3. Routers
      1. PayloadTypeRouter
      2. HeaderValueRouter
      3. Custom Routers
      4. Recipient List Router
      5. Unqualified Messages
      6. Routers Using Annotations
    4. Splitters
      1. Using Custom Splitters
      2. Using AbstractMessageSplitter
      3. Using Annotations
      4. Splitter in the Background
    5. Aggregators
      1. Strategies
      2. Correlation Strategy
      3. Release Strategy
      4. Message Store
    6. Resequencers
    7. Summary
  12. 7. Adapters
    1. Introduction
    2. File Adapters
      1. Using Namespace
        1. Inbound File Adapter
        2. File Adapter Settings
          1. Preventing Duplicate Files
          2. Filters
          3. File Locks
      2. Standalone File Readers
      3. Outbound Adapters
      4. Standalone File Adapters
    3. FTP Adapters
      1. Session Factory
      2. Inbound FTP Adapters
      3. Outbound FTP Adapters
        1. Caching Sessions
    4. JMS Adapters
      1. Inbound Adapters: Receiving Messages
        1. Synchronous Consumers
        2. Message-Driven Consumers
        3. Payload Conversions
      2. Publishing Messages: Outbound Adapters
    5. JDBC Adapters
      1. Inbound JDBC Adapters
      2. Outbound JDBC Adapters
    6. Summary
  13. About the Author
  14. SPECIAL OFFER: Upgrade this ebook with O’Reilly

Product information

  • Title: Just Spring Integration
  • Author(s): Madhusudhan Konda
  • Release date: April 2012
  • Publisher(s): O'Reilly Media, Inc.
  • ISBN: 9781449316082