万本电子书0元读

万本电子书0元读

顶部广告

Spring Integration Essentials电子书

售       价:¥

7人正在读 | 0人评论 6.2

作       者:Chandan Pandey

出  版  社:Packt Publishing

出版时间:2015-02-20

字       数:126.8万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
This book is intended for developers who are either already involved with enterprise integration or planning to venture into the domain. Basic knowledge of Java and Spring is expected. For newer users, this book can be used to understand an integration scenario, what the challenges are, and how Spring Integration can be used to solve it. Prior experience of Spring Integration is not expected as this book will walk you through all the code examples.
目录展开

Spring Integration Essentials

Table of Contents

Spring Integration Essentials

Credits

About the Author

Acknowledgments

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why subscribe?

Free access for Packt account holders

Preface

How enterprise integration challenges can be solved

Who are the players?

Why Spring Integration?

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

1. Getting Started

Setting up STS

Creating your first project

STS visual editor

Spring Integration Scala DSL

Summary

2. Message Ingestion

Working with message channels

Channel types

Spring implementation of channels

Selecting a channel

Publish-subscribe channel

Queue channel

Priority channel

Rendezvous channel

Direct channel

Executor channel

Scoped channel

Datatype channel

Error handling on channels

Persisting and recovering channels

Channel interceptors

Summary

3. Message Processing

Message endpoints

Gateways

Synchronous gateways

Asynchronous gateways

Service activators

Delayers

Transactions

Summary

4. Message Transformers

Introducing message transformers

Working with XML payload

The marshalling transformer

The unmarshalling transformer

XPath transformers

Validating XML messages

Beyond default transformers

Content enrichers

Header enrichers

Payload enrichers

Claim check

Incoming claim check transformer

Outgoing claim check transformer

Summary

5. Message Flow

Routers

Payload-type router

Header value router

Recipient list router

XPath router

Error message exception-type router

Default output channel

Using annotations

Filters

Using a Java class to act as a filter

Configuring a filter as a message endpoint

Splitters

Aggregators

Correlation strategy

Release strategy

Message store

Resequencers

Chaining handlers

Summary

6. Integration with External Systems

Working with files

Prerequisites

Reading files

Behind the scenes

Filters

Preventing duplicates

Concurrent access

Writing files

Naming the file

Target directory

Dealing with existing filenames

File transformers

FTP/FTPS

Prerequisites

Downloading files from the FTP server

Incomplete files

Uploading files to the FTP server

Avoiding partially written files

FTP outbound gateway

FTPS support

Social integration

Prerequisites

Receiving tweets

Sending tweets

Twitter search outbound gateway

Enterprise messaging

Prerequisites

Receiving messages – the inbound adapter

The polling adapter

The event-driven adapter

Sending messages – the outbound adapter

Gateway

The inbound gateway

The outbound gateway

HTTP

Prerequisites

The HTTP inbound gateway

The HTTP outbound gateway

Web services

Prerequisites

The inbound gateway

The outbound gateway

Database SQL

Prerequisites

Datasource

Reading from the database – the inbound adapter

Transaction support

Writing to the database – the outbound adapter

Inbound and outbound gateways

Stream processing

Prerequisites

Reading from a stream

Writing to a stream

Summary

7. Integration with Spring Batch

Spring Batch

Prerequisites

Defining a Spring Batch job

The Spring Batch job language

ItemReader

ItemWriter

Spring Batch and Spring Integration

Launching the job

Tracking the status of a batch job

The other way round

Summary

8. Testing Support

Prerequisite

Testing messages

Testing headers

Handling errors

Testing filters

Splitter test

Summary

9. Monitoring, Management, and Scaling Up

Monitoring and management

JMX support

Prerequisites

The notification listening channel adapter

The notification publishing channel adapter

The attribute polling channel adapter

The tree polling channel adapter

The operation invoking channel adapter

The operation invoking outbound gateway

The MBean exporter

Tracking the message

Wire tap

Control bus

Scaling up

Threading

Scaling the state

Message store

Claim check

Summary

10. An End-to-End Example

Prerequisites

Setting up

Ingesting data

Ingesting data from the RSS feed

Ingesting data from an FTP server

Filtering the data

The aggregator

The correlation bean

The completion bean

The aggregator bean

The splitter

Transformation

The DB transformer

The JMS transformer

The mail transformer

Router

Integration

Database integration

Prerequisites

The gateway

The service activator

Gateways for updating and reading the feeds

Sending a mail

Putting messages on to the JMS queue

Exporting as an MBean

Summary

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部