So far in this chapter we have focused on synchronous communication using the NetTcp adapter. The file system adapter and the MSMQ adapter work asynchronously and differently to synchronous adapters.
Asynchronous adapters use two tables to store messages:
AifGatewayQueue
: TheAifGatewayQueue
table is used in asynchronous processing of both inbound and outbound messages. Inbound messages are stored in this table after they are retrieved by the gateway receive service. Outbound messages are stored in this table after they are processed by the outbound processing service.AifOutboundProcessingQueue
: TheAifOutboundProcessingQueue
table is used by the send service framework to store requests for outbound messages. These requests are then processed by the outbound processing service that stores a message in theAifGatewayQueue
table.
The following flowchart displays the relationship between the tables and the classes that are used for asynchronous communication:
