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
6
votes
1 answer

ServiceBus RetryExponential Property Meanings

I'm having a hard time understanding the RetryExponential class that is used in conjunction with QueueClients (and I assume SubscriptionClients as well). The properties are listed here, but I don't think my interpretation of their descriptions is…
Paul
  • 1,590
  • 5
  • 20
  • 41
5
votes
3 answers

Does ServiceBusReceiver use a pull or a push communication model when talking to Azure Service Bus?

Just out of curiosity: What exactly happens behind the scenes when we call and await ServiceBusReceiver.ReceiveMessageAsync() or ServiceBusReceiver.ReceiveMessageAsync(TimeSpan.FromMinutes(10))? Does a.) the ServiceBusReceiver (long-)poll Azure…
5
votes
1 answer

Test of sending & receiving message for Azure Service Bus Queue

I would like to write an integration test checking connection of the Python script with Azure Service Bus queue. The test should: send a message to a queue, confirm that the message landed in the queue. The test looks like this: import…
5
votes
2 answers

Returned Azure service bus queue sequence number different in my consumer than what was returned in the producer and shown in the Azure portal?

When I create a scheduled service bus message, both in Azure Portal and in my app using the Service bus producer code (below) and I receive a sequence number. I save it in my db. Problem - When my Service bus consumer code is triggered by the…
chuckd
  • 13,460
  • 29
  • 152
  • 331
5
votes
2 answers

Azure ServiceBusProcessor takes a long time to stop

I'm playing around with sending messages through the Azure Service Bus library Azure.Messaging.ServiceBus. I'm following this tutorial and sending/processing a single message. When calling processor.StopProcessingAsync(), the action takes about a…
5
votes
2 answers

How Peek works in a Partition enabled Service Bus Queue?

I understand from the Microsoft docs that during the first Peek() operation, any one of the available message brokers respond and send their oldest message. Then on subsequent Peek() operation, we can traverse across the partitions to peek every…
Deepak
  • 2,660
  • 2
  • 8
  • 23
5
votes
1 answer

Do Azure Service Bus Queues Receivers have a Timeout Limit?

We are receiving a message from Azure Service Bus Queue. The receiver (message handler) on the queue, calls an Application Service, which updates a Million+ records in a SQL Database table, process takes more than 30 min. Does Azure service bus…
user12425844
5
votes
0 answers

Azure Function with ServiceBusTrigger circuit breaker pattern

I have an Azure function with ServiceBusTrigger which will post the message content to a webservice behind an Azure API Manager. In some cases the load of the (3rd party) webserver backend is too high and it collapses returning error 500. I'm…
Edwin
  • 51
  • 2
5
votes
0 answers

MassTransit approach when existing Azure Service Bus topics and security involved

I am implementing a library for publisher and consumers of events to communicate through Azure Service Bus and I thing MassTransit could be a good option. I am able to work publish multiple events with it, and have several consumers receiving them…
5
votes
1 answer

Recieving NULL Message Body Content from Azure Service-Bus Queue

I am trying to implement a Java application that sends and receives messages to and from Azure service-bus queue. The connection to the portal and the sending of the messages are going quiet well, but when receiving the messages and getting the…
5
votes
1 answer

Azure ServiceBus queue not retrying messages when TaskCanceledException is thrown

I have an Azure WebJob function that listens to messages on an Azure ServiceBus queue. Usually when I encounter an exception in my code, the message is abandoned as per the Azure WebJobs SDK documentation: The SDK receives a message in PeekLock…
5
votes
2 answers

Azure Service Bus "ReceiveAsync"

Is there a way, using the Microsoft.Azure.ServiceBus package, to wait on your current thread to receive a message from a queue? This may more be a problem with my understanding and a desire to use the technology in a way it is not intended to be…
DenverCoder9
  • 1,119
  • 3
  • 16
  • 30
5
votes
2 answers

Azure Function, Service bus trigger not working

I'm trying to set up an Azure Function that I want to trigger when a message is put on a Service Bus queue. However, I can´t get it to work. The first "log.Info" does not trigger. I deployed an Http trigger together with my Service Bus trigger and…
Martin Nilsson
  • 459
  • 1
  • 5
  • 15
5
votes
2 answers

Azure service bus - message going straight to dead letter queue

I have the following code to send messages to the bus: var queueClient = new QueueClient(ServiceBusConnectionString, QueueName); var message = new Message(poco.SerializeToBytes()); await queueClient.SendAsync(message); But they seem to be going…
5
votes
1 answer

Properly disposing of Azure Service Bus Client while a message is in the middle of being handled

When using async/await I'm concerned with disposing of the client while it's in the middle of handling a message. Consider the following: Initialize a queue client queueClient and store a reference to it in the global scope of the class Queue…
The Muffin Man
  • 19,585
  • 30
  • 119
  • 191