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.
也可以参考另一篇博文:
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.
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.
下一篇: Python实现豆瓣图片下载的方法
推荐阅读
-
使用Spring自定义注解实现任务路由的方法
-
Spring Boot中使用Actuator的/info端点输出Git版本信息
-
详解基于Spring Boot/Spring Session/Redis的分布式Session共享解决方案
-
Spring Boot项目利用Redis实现session管理实例
-
详解spring cloud feign踩坑记录
-
详解使用Jenkins部署Spring Boot项目
-
如何使用Spring+redis实现对session的分布式管理
-
Spring Data MongoDB中实现自定义级联的方法详解
-
spring cloud 之 客户端负载均衡Ribbon深入理解
-
Spring Data JPA+kkpager实现分页功能实例