All communication to a COM or Script component implementation is synchronous. If you want to create a communication flow to a port that uses a COM component or Script component implementation, you must use the Method Communication Wizard.
All communication to an unbound port, or to a Message Queuing or BizTalk Messaging implementation is asynchronous. If you want to create a communication flow to a port that uses a Message Queuing or BizTalk Messaging implementation, or if you want to create a communication flow to an unbound port, you must use the XML Communication Wizard.
The following illustration and text describes what an XLANG schedule does for the four possible communication actions.
Asynchronous receive action
Synchronous receive action
Message Queuing or Biztalk Messaging
- Synchronous receive action
- The XLANG schedule waits for another application to send a method request and instantiate a component.
- The schedule intercepts the method request.
- The schedule waits for the component to return the method response.
- The schedule intercepts the method response.
- The schedule continues with the next action in the business process flow.
- Synchronous send action
- The XLANG schedule initiates the method request and instantiates the component.
- The schedule waits for the component to return the method response.
- The schedule receives the method response.
- The schedule continues with the next action in the business process flow.
- Asynchronous receive action
- The XLANG schedule waits for another application to send a message to a messaging queue or to a BizTalk Messaging channel.
- The XLANG schedule receives the message from the messaging queue or from the channel.
- The schedule continues with the next action in the business process flow.
- Asynchronous send action
- The XLANG schedule sends a message to a messaging queue or to a BizTalk Messaging channel.
- The schedule continues with the next action in the business process flow.
- Another application receives the message from the message queue or BizTalk Messaging channel.
Notes
- A special case exists for the synchronous receive action. If you choose No instantiation in the COM or Script Component Binding Wizard, the component is not instantiated, and no code for the method call is executed. Instead, when the XLANG schedule intercepts the method request information, it returns this information as the response. The method call is circumvented. For more information about static and dynamic ports and the COM and Script Component Binding Wizards, see the following topics:
- Action events related to messages processed by an XLANG schedule that are either sent to or received from BizTalk Messaging Services can be tracked in the Tracking database. For more information, see Tracking XLANG schedule events in the Tracking database.
This section contains information about the following topics:
Related Topics