本文介绍了接收来自Azure Service Bus主题订阅的消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是在我通过azure发送/接收消息的大型企业Web应用程序中,使用使用asp.net核心Web API的微服务 几年前通过使用normal  建立的服务总线主题 framework 4.5版本.现在,我将构建最新版本的asp.net core 2.1.为此,我需要一些最佳实践和示例代码,以立即从服务主题下的订阅中接收消息

I'm using micro service using asp.net core web api for one of my large enterprise web application where I'm sending/receiving messages via azure service bus topics which was building for the couple of years ago by using normal framework 4.5 version. Now I'm going to build latest version asp.net core 2.1.For that, I need some best practices and sample code to receive the messages from subscriptions under the topics instantly among the services

有5种以上的不同我们维护的带有独立的Azure SQL Server的asp.net Web api和asp.net核心Web api.每个消息都需要 邮件进入主题下的订阅时,可以在一秒钟之内异步同步到这些数据库中.

There are more than 5 different asp.net web api and asp.net core web api with separate azure SQL server we are maintaining. Each messages needs to be synced asynchronously into those Data bases with in a second when the messages coming to the subscriptions under a topic.

我已经在写一篇文章控制台应用程序.net框架接收特定主题下的订阅消息的代码集 4.5,并且我已将代码转换为 .zip 文件格式,该文件格式作为单独的Web作业托管在Azure Web应用程序中.

Already I was writing a piece of code to receive the messages from the subscriptions under the particular topics using console application .net framework 4.5 and I have converted the code into .zip file format which is hosted as an individual web jobs in my azure web app.

请找到上述详细信息,给我解决方案.我正在等待您的回复.

最好的问候,

Parthi

Parthiban

Parthiban

推荐答案

希望这会有所帮助!

谢谢

基丹


这篇关于接收来自Azure Service Bus主题订阅的消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 20:36