【发布时间】:2019-10-18 17:29:40
【问题描述】:
我有一个由启用会话的服务总线触发的功能,但我收到错误:
Microsoft.Azure.ServiceBus: It is not possible for an entity that requires sessions to create a non-sessionful message receiver
有没有办法启用与 nodejs 应用程序的会话?
我尝试编辑我的 host.json,但没有成功,SessionHandlerOptions 未显示为 serviceBus 的属性...“不允许使用属性 SessionHandlerOptions”
{
"version": "2.0",
"extensions": {
"serviceBus": {
"SessionHandlerOptions": ....
}
}
}
}
还尝试在function.json中添加"isSessionsEnabled": true,但仍然出现同样的错误。
有什么想法吗?
【问题讨论】:
标签: node.js azure azure-functions azureservicebus