最新消息:ww12345678 的部落格重装上线,希望大家继续支持。

AX 2012: Process AIF Gateway Queue in X++

网络文摘 William 1992浏览 0评论

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: dynamicsaxinsight.wordpress.com
// LinkedIn: pk.linkedin.com/in/muhammadanaskhan
// 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
}

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址