2016-12-07 143 views
0

我正在使用azure服務總線隊列。但我不能夠使用從隊列中獲取所有信息「獲取所有隊列消息(PEEK鎖):微軟內置的APIAzure服務總線獲取所有隊列消息

有沒有辦法讓所有的隊列中的消息

{ ?」 $ connections「:{ 」value「:{ 」servicebus_1「:{ 」connectionId「:」/subscriptions/c776fec3-6aec-4722-b099-b054c267b240/resourceGroups/Plugin-Resource/providers/Microsoft.Web/connections/ servicebus-3「, 」connectionName「:」servicebus-3「, 」id「:」-b054c267b240/providers/Microsoft.Web/locations/northcentralus/managedApis/servicebus「 } } }, 「定義」:{ 「$綱目」: 「https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#」, 「動作」:{ 「Get_messages_from_a_queue_(PEEK鎖)」:{ 「輸入」:{ 「主機」 :{ 「API」:{ 「runtimeUrl」: 「https://logic-apis-northcentralus.azure-apim.net/apim/servicebus」 }, 「連接」:{ 「名稱」: 「@參數( '$連接')[ 'servicebus_1'] [ '的ConnectionId']」 } }, 「method」:「get」, 「path」:「/ @ {encodeURIComponent('email-listene R')} /消息/批次/窺視」, 「查詢」:{ 「maxMessageCount」:20, 「queueType」: 「主」 } }, 「runAfter」:{}, 「類型」 : 「ApiConnection」 } }, 「contentVersion」: 「1.0.0.0」, 「輸出」:{}, 「參數」:{ 「$連接」:{ 「默認值」:{}, 「type」:「Object」 } }, 「triggers」:{ 「Recurrence」:{ 「recurr ENCE「:{ 」頻率「: 」日「, 」間隔「:3 }, 」類型「: 」迴歸「 } } } }

感謝

+0

請分享此代碼。 –

+0

我正在使用天藍色的邏輯應用程序 –

回答

0

的託管API默認返回20條消息。 enter image description here

如果您的隊列中有超過20條消息,則需要手動增加最大消息數。

enter image description here

相關問題