售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
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
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜