Azure函数通过Node.js获取服务总线BrokeredMessage [英] Azure functions get service bus brokeredMessage with nodejs

查看:87
本文介绍了Azure函数通过Node.js获取服务总线BrokeredMessage的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一种方法可以从javascript azure函数检索服务总线代理消息. 目前,只有一个上下文包含一个invocationId,但不是所有属性(例如brokeredProperties或customPropeties).

Is there a way to retrieve the service bus brokered message from a javascript azure function. At this time there's only a context that containing an invocationId, but not all properties like brokeredProperties or customPropeties.

谢谢

推荐答案

当前无法从节点函数中执行此操作.您必须使用C#并指定BrokeredMessage作为参数类型,在这种情况下,系统将为您提供完整的消息来处理您自己.

There currently is no way to do this from node functions. You'd have to use C# and specify a BrokeredMessage as your parameter type, in which case you'd be given the entire message to handle yourself.

存在一个问题,该问题揭示了服务总线(和事件中心)触发器的更多详细信息:

There is an issue filed to expose more details for Service Bus (and Event Hub) triggers: https://github.com/Azure/azure-webjobs-sdk/issues/1004. I've added a link to this question so we can make sure we've taken your scenario into account when we address it.

这篇关于Azure函数通过Node.js获取服务总线BrokeredMessage的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆