AX 2012: Process AIF Gateway Queue in X++

AIF requires a batch job to be configured with a particular set of services to move messages into and out of the AIF gateway queue. To manually process messages in the AIF gateway queue, you can run the following job:

// Developed on 01 Jan 2016 by Muhammad Anas Khan
// Blog:
// LinkedIn:
// Description: Process AIF Gateway Queue manually
static void makProcessAIFGatewayQueue(Args _args)
    // Inbound
    new AifGateWayReceiveService().run();       // read the messages
    new AifInboundProcessingService().run();    // process the messages in queue

    // Outbound
    new AifOutboundProcessingService().run();   // process messages in queue
    new AifGateWaySendService().run();          // send messages

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s