servicebus

After migrate .Net framework from 4.6.2 to 4.7.2, Azure Cloud Services is not working

吃可爱长大的小学妹 提交于 2019-12-10 12:00:05
问题 After I migrated .Net framework version from 4.6.2 to 4.7.2, there was no problem with I run locally. However, when I published to Azure Cloud Services, there should be something wrong so the service bus message moved to DeadLetter Queue. What's wrong is it as I chose osFamily to 6 (Windows Server 2019) already? If I chose back Windows Server 2016, below error was out during starting the service: Unhandled Exception: Method not found: ‘Void Microsoft.Azure.KeyVault.KeyVaultClient..ctor

Connecting to Service Bus on Windows Server (1.1) using Java and AMQP 1.0

随声附和 提交于 2019-12-10 10:47:18
问题 The question I am about to ask has been asked here before. An answer has been given by David Ingham reciting this Microsoft Document. A confirmation has been provided by Sentinel that the solution works. Yet, I have the same problem. I follow the Microsoft document to the letter, however, still have the same issue. At the risk of being redundant, the issue is that when using Qpid-JMS Client libraries(versions 0.22 or 0.26) to connect to the Service Bus (1.1) on Windows Server ( NOT Azure )

How does Windows Azure Service Bus Queues Duplicate Detection work?

巧了我就是萌 提交于 2019-12-10 02:45:07
问题 I know that you can set duplicate detection to work over a time period with an azure service bus queue. However, does anyone know whether this works based on the objects in the queue? So if I have an object with an id of "SO_1" which gets put on the queue and is subsequently consumed, is the duplicate detection still valid? What I think I'm asking is - is it the timeframe and the object, or just the timeframe that make the queue decide what is a duplicate? 回答1: http://blog.iquestgroup.com/en

Azure service bus statistics/Monitoring

我怕爱的太早我们不能终老 提交于 2019-12-09 16:50:34
问题 I want to make a dashboard which shows the status of our Azure services bus queues and displays the history for "messages added to queue", "length of queue" and "messages processed" etc. Using the Azure Management Portal, I can see that most of these statistics manually for each queue. Is there any way to get access to the data that is displayed in the Management Portal through one of the APIs as I want to combine the data from number of queues that we use into a single interface. I have

Who is responsible for entity's mutation when domain event is raised? DDD

和自甴很熟 提交于 2019-12-09 03:18:43
问题 I've been learning about CQRS / ES . Looking at small example projects I often see events mutating the entity state . For instance If we look at the Order aggregate root : public class Order : AggregateRoot { private void Apply(OrderLineAddedEvent @event) { var existingLine = this.OrderLines.FirstOrDefault( i => i.ProductId == @event.ProductId); if(existingLine != null) { existingLine.AddToQuantity(@event.Quantity); return; } this.OrderLines.Add(new OrderLine(@event.ProductId, @event

Service MessagingCommunication Exception - The End point is only for web socket requests

爱⌒轻易说出口 提交于 2019-12-08 06:36:13
问题 Have a service bus queue where we are polling for the messages using the ServiceBus QueueClient/ReceiveMessage. The service bus version used is 3.1.4 and the connectivity mode is https. We are getting the following exception in one of the machines: Microsoft.ServiceBus.Messaging.MessagingCommunicationException: The server rejected the upgrade request. 400 This endpoint is only for web-socket requests ---> System.ServiceModel.CommunicationException: The server rejected the upgrade request. 400

How to handle message order in nservicebus?

左心房为你撑大大i 提交于 2019-12-08 02:53:54
问题 I'm trying to find a way to process messages in the order they were sent from the sender since NServiceBus does not guarantee that messages will be processed in a particular order. The sender is an order system which publishes createOrder and reviseOrder commands. The sender allows the user to submit multiple revisions to the same order so there can be revision 4 and revision 3 in the queue at the same time. Each revision has a revision number and reason code associated with it which drives

ServiceBus throws 401 Unauthorized Error

大憨熊 提交于 2019-12-08 02:15:32
问题 I'm using a simple implementation of the Windows Service Bus 1.0 Brokered messaging to keep track of the user interactions with a particular web application. Every time something is saved to a "sensitive" table in the database, I have setup the repository layer send a message like so: ServiceBus.MessageQueue<T>.PushAsync(entity); which will then serialize the entity and create a message out of it. My MessageQueue class is something like this. public static class MessageQueue<T> { static

Azure ServiceBus returns null on Client.Receive()

僤鯓⒐⒋嵵緔 提交于 2019-12-07 18:45:17
问题 I have a problem with receiving messages from a queue i have set up in azure. I have done this successfully using the same code before but now i just get null when i try to fetch messages. When i view the queue in azure management console i clearly see that the queue contains 5 messages. Here is the code: ServiceBus SB = new ServiceBus(); Microsoft.ServiceBus.Messaging.BrokeredMessage message; while (true) { message = SB.ReceiveMessage("orders"); if (message == null) { break; } Procurement

Service Bus 1.1 creating Queue with WindowsAzure.ServiceBus dll

大城市里の小女人 提交于 2019-12-07 08:51:56
问题 I am preparing to develop application that connects to Azure Service Bus. For development I want use Service Bus 1.1. I have installed localy Service Bus 1.1 and it works fine when I am connecting with package Service Bus.v1_1 ver. 1.0.5 . But as I want eventually work with Azure I prefer to use package WindowsAzure Service Bus which as I know sholud work with Service Bus 1.1. But when I want to execute: namespaceManager.QueueExists(queueName) with WindowsAzure.ServiceBus ver 3.1.2 package I