简体   繁体   English

Azure WebJob Sdk beta 0.5中的ServiceBusTrigger批处理

[英]ServiceBusTrigger batch in Azure WebJob Sdk beta 0.5

Is there a way to retrieve batches of messages from a subscription using the new Azure WebJob Sdk beta 0.5. 是否有一种方法可以使用新的Azure WebJob Sdk beta 0.5从订阅中检索成批消息。 We're handling quite a few messages per second and would ideally like the following syntax 我们每秒处理大量消息,理想情况下,希望使用以下语法

public static void ProcessMessages([ServiceBusTrigger("Topic", "Subscription")] IEnumerable brokeredMessages) 公共静态无效ProcessMessages([ServiceBusTrigger(“ Topic”,“ Subscription”)] IEnumerable brokeredMessages)

Is there a way to accomplish this? 有没有办法做到这一点?

Unfortunately, that is not possible today. 不幸的是,今天不可能。

What is the scenario in which you want to use that binding? 您想在哪种情况下使用该绑定?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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