다음을 통해 공유


Receive Adapters Versus Send Adapters

Each of the four BizTalk Server adapters that are supplied with Commerce Server 2009 function in two distinct ways: as a receive adapter and as a send adapter. If you decide to use BizTalk Server and one or more of the adapters supplied with Commerce Server 2009 to exchange data with another application, you will need to decide which of these two types of adapters is appropriate in each case.

Largely, the decision of whether to choose a receive adapter or a send adapter depends on which side of the data exchange, Commerce Server 2009 or the other application, is going to initiate the exchange of data. Is it an event within a line-of-business (LOB) application that will initiate the data exchange? For example, is it an order being fulfilled by a warehouse, and the consequent updating of the status of the order to "shipped," that will initiate the data exchange? Or are you interested in distributing the product catalogs that you create and maintain using the Catalog Manager to one or more of your trading partners so that they may also sell your products on their own Web sites? In the former case, you should choose a send adapter, and in the latter case you should probably choose a receive adapter.

The following table compares and contrasts the characteristics of the Commerce Server 2009 receive and send adapters. 

Receive Adapter Characteristics

Send Adapter Characteristics

Used to initiate periodic exports of data from Commerce Server 2009 into BizTalk Server, driven by a schedule that you configure.

Used to process requests for data from Commerce Server 2009 and to import data into Commerce Server 2009, both driven by another application placing specific messages into the BizTalk Server MessageBox Database.

Support a single one-way message for exporting data from Commerce Server 2009.

Support several different pairs of solicit-response messages for querying Commerce Server 2009 and for importing data into Commerce Server 2009.

May require up-to-date message schemas to be generated using Commerce Server 2009 tools and deployed to BizTalk Server.

Dd328221.alert_note(en-US,CS.90).gifNote:
If you keep the default receive pipeline choice of PassThruReceive when you configure a receive adapter endpoint, and you do not plan to validate, transform, or otherwise examine the message within BizTalk Server, you do not need to generate or deploy the corresponding Commerce Server 2009 system schema.

May require up-to-date message schemas to be generated using Commerce Server 2009 tools and deployed to BizTalk Server.

Dd328221.alert_note(en-US,CS.90).gifNote:
If you keep the default send and receive pipeline choices of PassThruTransmit and PassThruReceive, respectively, when you configure a receive adapter endpoint, and you do not plan to validate, transform, or otherwise examine the message within BizTalk Server, you do not need to generate or deploy the corresponding Commerce Server 2009 system schema.

Other BizTalk Server programming and/or configuration required to process export messages through BizTalk Server to their ultimate destination in another application.

Other BizTalk Server programming and/or configuration required to deliver solicit messages through BizTalk Server from their ultimate source in another application, and to process response messages through BizTalk Server to their ultimate destination, potentially in another application.

Configured within the BizTalk Server Administration Console or by using BizTalk Explorer within Visual Studio 2008.

Configured within the BizTalk Server Administration Console or by using BizTalk Explorer within Visual Studio 2008.

Are associated with BizTalk Server receive locations and receive ports, both of which must also be configured within the BizTalk Server Administration Console or by using BizTalk Explorer within Visual Studio 2008.

Are associated with BizTalk Server send ports, which must also be configured within the BizTalk Server Administration Console or by using BizTalk Explorer within Visual Studio 2008.

Typically only a single receive adapter endpoint configured for any one Commerce Server 2009 system, unless specialized filtering is used to either split an export between multiple receive adapter endpoints, or different types of exports are required. For more conceptual information about how receive adapters work, see Receiving Messages from Commerce Server.

Send adapters are designed to allow multiple endpoints to be configured for a single Commerce Server 2009 system, with each such endpoint handling a different type of message. For more conceptual information about how send adapters work, see Sending Messages to Commerce Server.

See Also

Other Resources

Different Adapters for Different Commerce Server Systems

Adapter Message Types

Adapter Message Schemas

Receiving Messages from Commerce Server

Sending Messages to Commerce Server

BizTalk Adapter Concepts