如何从Azure服务总线主题订阅向Web API订阅消息? [英] How to subscribe messages from Azure service bus topic subscription to web api?

查看:92
本文介绍了如何从Azure服务总线主题订阅向Web API订阅消息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有多个webapi(微服务).为了在这些微服务之间进行通信,我们使用Azure服务总线Topic \ Subscription. Webapi控制器如何获取消息订阅,以便api可以处理消息并插入数据库.一世 不想使用任何天蓝色的功能.我想在我的webapi(直接使用微服务)中订阅消息.

解决方案

--------------- -------------------------------------------------- ------------------------------

如果此答案有帮助,请单击"标记为答案"或"投票".要提供有关您的论坛体验的其他反馈,请单击 在这里 >

We have multiple webapi(microservices). To communicate between these micro services we are using Azure service bus Topic\Subscription. How webapi controller can get the message subscription so that api can process the message and insert to database. I don't want to use any azure functions. I want subscribe message in my webapi(micro service directly).

解决方案

I noticed that, you have posted the query on SO. You may check the suggestions outlined by Sean Feldman and see if that helps.

-----------------------------------------------------------------------------------------------

If this answer was helpful, click "Mark as Answer" or "Up-Vote". To provide additional feedback on your forum experience, click here


这篇关于如何从Azure服务总线主题订阅向Web API订阅消息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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