简体   繁体   中英

how Azure queue trigger function app can pick message after completion of another queue message only

right now in Azure queue trigger function app, queue trigger starts executing or picking another message from queue before completion of process of 1st queue message, I require the message should be picked up only when 1st process is completed

my host.json:

{
  "version": "2.0",
  "logging": {
    "applicationInsights": {
      "samplingExcludedTypes": "Request",
      "samplingSettings": {
        "isEnabled": true
      }
    }
  },
  "extensions": {
    "queues": {
      "maxPollingInterval": "00:1:00",
      "visibilityTimeout": "00:05:00",
      "batchSize": 1,
      "maxDequeueCount": 5,
      "newBatchThreshold": 0
    }
  }
}

right now in Azure queue trigger function app, queue trigger starts executing or picking another message from queue before completion of process of 1st queue message, I require the message should be picked up only when 1st process is completed

my host.json:

{
  "version": "2.0",
  "logging": {
    "applicationInsights": {
      "samplingExcludedTypes": "Request",
      "samplingSettings": {
        "isEnabled": true
      }
    }
  },
  "extensions": {
    "queues": {
      "maxPollingInterval": "00:1:00",
      "visibilityTimeout": "00:05:00",
      "batchSize": 1,
      "maxDequeueCount": 5,
      "newBatchThreshold": 0
    }
  }
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM