Questions tagged [azure-servicebus-queues]

Windows Azure Service Bus Queue, questions regarding relay, topics and queues

Windows Azure Service Bus Queues are a set of cloud-based, message-oriented-middleware technologies. These “brokered” messaging capabilities can be thought of as asynchronous, or decoupled messaging features that support publish-subscribe, temporal decoupling, and load balancing scenarios using the Service Bus messaging fabric. Decoupled communication has many advantages; for example, clients and servers can connect as needed and perform their operations in an asynchronous fashion.

Service Bus Relay offers the ability to publish a WCF endpoint in the cloud, acting as a bridge to bypass firewalls, allowing duplex operations.

1015 questions
4
votes
1 answer

Rebus with Azure Service Bus, Competing consumers and multi-tenancy

I have been trying to setup Rebus for Azure Service Bus, but I find it hard to find examples that fit my use case, or to construct a solution by myself. I have multiple instances producing Message1, each instance runs for a specific client, however…
Rich_Rich
  • 427
  • 3
  • 15
4
votes
2 answers

Message from servicebus queue disappears on error in activity function

I have developed an Azure Durable Functions app that triggers on new servicebus queue messages. It works ok when no errors occurs, but when an error occurs in an activity function, it logs that it fails but the message is gone forever from the…
4
votes
2 answers

Azure functions only max concurrent at the time

I have a Azure Function that handles SharePoint operations. Due to throttling I only want 10 concurrent functions running at the time and always 10 functions concurrently. I was considering to use functions with an Azure Service Bus Queue. Is there…
4
votes
2 answers

Azure Service Bus keeps throwing MessageLockLostExceptions

I keep getting MessageLockLostExceptions when processing messages. I am using Microsoft.Azure.ServiceBus 3.2.0 with .NET Core 2.1. I have a queue with LockDuration set to 30 seconds already containing a number of messages to be processed. I took…
Mo B.
  • 5,307
  • 3
  • 25
  • 42
4
votes
3 answers

What are the disadvantages of an azure service bus topic with only one subscription compared to a queue

I'm currently studding Azure Service Bus and I didn't understand the real benefits of a Queue compared to a Topic with a single Subscription. I see that in both cases it's possible to create different applications in listening to the single queue…
4
votes
2 answers

Unable to scale out azure function instances using WEBSITE_MAX_DYNAMIC_APPLICATION_SCALE_OUT setting

We are using azure function apps with consumption plan(integrated with service bus queues). One of the app containing 4 functions and rest are having 1 to 2 functions. We have set WEBSITE_MAX_DYNAMIC_APPLICATION_SCALE_OUT setting for each app to…
4
votes
1 answer

Using the same message id in different Azure service bus queues causing errors

I'm having an issue with my function below that adds a scheduled message to a Azure service bus queue. The creation method poops out when calling the method var sendCodeSequence = await queueClient.ScheduleMessageAsync(message, …
chuckd
  • 13,460
  • 29
  • 152
  • 331
4
votes
0 answers

Azure ServiceBus high amount of server errors in metrics

We are using Azure Service Bus in the West Europe region. When I looked in our metrics to investigate a duplicating issue, I noticed that we have a high amount of "server errors". It's nearly 50% of the requests it seems. Now there is not a lot of…
4
votes
1 answer

How to Determine Azure ServiceBus PrefetchCount and ReceiveBatch Size

I have a queue processor that is retrieving all messages from a ServiceBus Queue. I am wondering how I should determine the MessageReceiver PrefetchCount and the ReceiveBatch messageCount to optimize performance. I am currently setting these to the…
ElliotSchmelliot
  • 7,322
  • 4
  • 41
  • 64
4
votes
3 answers

Azure functions with service bus: How to keep a message in the queue if something goes wrong with its processing?

I'm new to service bus and not able to figure this out. Basically i'm using Azure function app which is hooked onto the service bus queue. Let's say a trigger is fired from the service bus and I receive a message from the queue, and in the…
90abyss
  • 7,037
  • 19
  • 63
  • 94
4
votes
2 answers

How do I reuse QueueClient instances to send response messages from Azure Function?

The best practices article from Azure docs recommends reusing QueueClient to send multiple messages to obtain faster…
4
votes
0 answers

Angular azure-service-bus

I creating an Angualar4 application and I am going to connect to an azure service bus. I've installed the azure-arm-sb package(https://www.npmjs.com/package/azure-arm-sb). The first question is what package to use, there…
Hefa
  • 41
  • 4
4
votes
2 answers

.NET Core Azure servicebusqueue number of messages

I am currently working on a .NET Core project where I use the Microsoft.Azure.Servicebus version 1.0 NuGet package found here: https://github.com/Azure/azure-service-bus The problem I have is that I haven't found any method to get a queue's number…
4
votes
1 answer

How to use an Azure Function Binding to send a scheduled Service Bus Queue message?

I have an Azure Function written in node.js that is successfully sending a message to an Azure Service Bus Queue using an output binding. How can I send a scheduled message into the same Queue still using the binding syntax? I'd rather do this…
4
votes
1 answer

Azure Service Bus BrokeredMessage GetBody method throws SerializationException when reading data sent through Rest API

I am sending a csv file to an Azure Service Bus Queue from a .NET 3.5 based C# solution. Since the Service Bus nuget packages aren't available in .NET 3.5, I am using the Rest API. byte[] file = File.ReadAllBytes(@"VehicleContacts.csv"); string url…