8 通过XML负载处理消息
8.1 XML消息传递
8.1.1 Marshalling LegQuoteCommand into XML
8.1.2 Enriching the leg quote using XSLT
8.1.3 XPath support
8.1.4 Splitting hotel, car rental, and flight quotes
8.1.5 基于 XML负载路由消息
8.1.6 验证XML消息
8.2 under the hood
8.3 总结
9 Spring Integration and JMS
9.1 Spring Integration和JMS的关系
JVM1 (JMS Producer) -----JMS queue ---> JVM2 (JMS consumer)
JVM (Spring Integration producer –Message Channel -> Spring Integration consumer)
使用JMS的好处?
9.1.1 JMS与Spring Integration message如何映射?
Spring Integration Message | JMS Message |
---|---|
Headers | Properties |
Payload | Body |
9.1.2 比较Spring Integration message channels与JMS destination
Enterprise Integration Pattern(EIP) | JMS |
---|---|
Message Channel | Destination |
Point-to-point channel | Queue |
Publish-subscriber channel | Topic |