Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/csharp-4.0/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 在Microsoft.ServiceBus.Messaging.QueueClient上使用RX(响应式扩展)_C#_C# 4.0_Azure_System.reactive_Message Bus - Fatal编程技术网

C# 在Microsoft.ServiceBus.Messaging.QueueClient上使用RX(响应式扩展)

C# 在Microsoft.ServiceBus.Messaging.QueueClient上使用RX(响应式扩展),c#,c#-4.0,azure,system.reactive,message-bus,C#,C# 4.0,Azure,System.reactive,Message Bus,我有一个定价应用程序。它将定价请求发送到Azure服务总线队列(可以是任何队列)“PricingRequestQueue”。有许多工作人员负责提取、处理这些数据,并将结果返回到PricingResponse队列 我想在PricingResponse队列上创建一个可观察的。我不需要任何筛选,但希望使用批处理接口(QueueClient.BeginReceiveBatch)读取消息。队列具有预期的消息数,并且具有要从中读取的会话(QueueClient.AcceptMessageSession(co

我有一个定价应用程序。它将定价请求发送到Azure服务总线队列(可以是任何队列)“PricingRequestQueue”。有许多工作人员负责提取、处理这些数据,并将结果返回到PricingResponse队列

我想在PricingResponse队列上创建一个可观察的。我不需要任何筛选,但希望使用批处理接口(QueueClient.BeginReceiveBatch)读取消息。队列具有预期的消息数,并且具有要从中读取的会话(QueueClient.AcceptMessageSession(correlationIdentifier))


我仍在尝试了解RX,这将真正澄清问题。

有一个CloudFx库,它将RX扩展添加到Azure

(更新链接)

但是,我必须警告您,我们在当前的CloudFx库中发现了一些线程泄漏(特别是table storage one,但是自table storage 2.0以来,您不需要Rx扩展)