Adapter-based exchanges in AIF
A transport adapter is a software component that enables data to be exchanged asynchronously in Application Integration Framework (AIF). An asynchronous exchange is one in which documents are placed in a queue to wait for processing by a transport mechanism.
The transport adapters that are included with Microsoft Dynamics AX include:
Microsoft Message Queuing (MSMQ) - Messages are sent and received through Message Queuing queues.
File system - Messages are sent and received through file system directories.
BizTalk Server - Messages are sent and received through BizTalk orchestrations.
For example, you may have a scenario where the chart of accounts is sent from Microsoft Dynamics AX to two external systems. The first system receives messages by checking a specific file system directory for files while the second system uses Microsoft Message Queuing (MSMQ) to receive messages. In this case, whether the chart of accounts is sent to the first system or the second system, both messages are first placed in the queue in Microsoft Dynamics AX. For more information about how to configure a data exchange using adapters, see Configure document exchanges with adapters in AIF.
To start and stop processing in the queues, use the Microsoft Dynamics AX batch functionality. For more information, see Start and stop the asynchronous AIF services. In the previous scenario, when the batch jobs start, they will pick up the messages in the queue. The batch jobs will send the first message to the appropriate directory and send the second message to the appropriate Message Queuing queue. How the messages are processed is defined by how the endpoint is configured and how the channel for that endpoint is configured.