欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Spring Integration

程序员文章站 2022-05-11 09:01:15
...
 
Spring Integration Reference Manual:
http://static.springsource.org/spring-integration/reference/htmlsingle/#spring-integration-introduction


Spring integration 的理念来自 《Enterprise Integration Patterns: Designing, Building, and Deploying Messaging Solutions》一书,该书在线:
http://www.enterpriseintegrationpatterns.com/toc.html
另外两个也是开源的 Integration framework: Apache Camel & Mule ESB. 三者的比较:
http://www.kai-waehner.de/blog/2012/01/10/spoilt-for-choice-which-integration-framework-to-use-spring-integration-mule-esb-or-apache-camel/
http://www.slideshare.net/KaiWaehner/spoilt-for-choice-how-to-choose-the


String integration 中 Adapters 和 Gateways 的区别、inbound 和 outbound 的区别:
http://docs.spring.io/spring-integration/docs/latest-ga/reference/htmlsingle/
引用
9. Endpoint Quick Reference Table
To recap, Inbound Channel Adapters are used for one-way integration bringing data into the messagng application. Outbound Channel Adapters are used for one-way integration to send data out of the messaging application. Inbound Gateways are used for a bidirectional integration flow where some other system invokes the messaging application and receives a reply. Outbound Gateways are used for a bidirectional integration flow where the messaging application invokes some external service or entity, expecting a result.
也可以参考另一篇博文:
http://wuaner.iteye.com/blog/1740566


Tips:
引用
1. <int-jdbc:outbound-channel-adapter .../> is a instance of JdbcMessageHandler.
2. A Channel Adapter is a Message Endpoint that enables connecting a single sender or receiver to a Message Channel. Spring Integration provides a number of adapters out of the box to support various transports, such as JMS, File, HTTP, Web Services, Mail, and more.