匯出 (0) 列印
全部展開

Message Exchange Patterns for Bridges

更新日期: 2013年11月

Bridges being message intermediaries between the clients and services, they must support the different message exchange patterns agreed upon between the respective clients and services. Currently, the XML 橋接器 supports two message exchange patterns – XML 單向橋接器 and XML 要求-回覆橋接器. 通過橋接器 also supports only one-way message exchange pattern. Note that the message exchange patterns are considered at the application level, which means, that for a XML 要求-回覆橋接器, the client sending a message to the service expects a response back. For XML 單向橋接器, no such response is expected.

In an XML 單向橋接器, the client sends a message to the service but does not expect or request a response back. An XML 單向橋接器 contains the following stages:

  • Validate

  • Enrich, pre-transform

  • Transform

  • Enrich, post-transform

For more information about each of these stages, see 橋接器的用法和階段.

An XML 單向橋接器 can route messages to any destination that can be added to a BizTalk 服務專案. The only consideration is that when you route a message from a XML 單向橋接器 to two-way destination endpoints, such as Two-Way Relay Endpoint, Two-Way External Service Endpoint, or an XML 要求-回覆橋接器, the response message that is received from any of these two-way endpoints is ignored by the XML 單向橋接器.

In an XML 要求-回覆橋接器, the client sends a message to the service and expects a response back.

The request path of the bridge contains the following stages:

  • Validate

  • Enrich, pre-transform

  • Transform

  • Enrich, post-transform

The response path of the bridge contains the following stages:

  • Enrich, pre-transform

  • Transform

  • Enrich, post-transform

  • Reply Action

For more information about each of these stages, see 橋接器的用法和階段. For more information about Reply Action, see Route and Reply Actions: Bridging Protocol Mismatch.

You can use an XML 要求-回覆橋接器 only for routing messages to two-way relay endpoints, two-way external service endpoints, or other XML 要求-回覆橋接器.

In a 通過橋接器, the client sends a message of any message type to the bridge and does not expect a response back. A 通過橋接器 contains only an Enrich stage and is only a one-way bridge.

The constraints for a 通過橋接器 are same as the constraints for an XML 單向橋接器. For more information, see Constraints on Using an XML One-Way Bridge.

另請參閱

顯示:
© 2014 Microsoft