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
40
votes
2 answers

Azure Service Bus Emulator

I am developing a WebJob, which uses service bus queue, but I don't have an Azure account. Does there exist some Service Bus emulator to test the webjob ? I need to take the queue input to simulate the [ServiceBusTrigger]
32
votes
6 answers

Choosing between .NET Service Bus Queues vs Azure Queue Service

Just a quick question regarding an Azure application. If I have a number of Web and Worker roles that need to communicate, documentation says to use the Azure Queue Service. However, I've just read that the new .NET Service Bus now also offers…
ChrisV
  • 2,213
  • 1
  • 18
  • 30
32
votes
6 answers

What's the proper way to abandon an Azure SB Message so that it becomes visible again in the future in a way I can control?

So the scenario is that I'm using an SB queue to throttle outgoing callbacks to other services. One of the standard problems with calling back to other services is that they may be down for uncontrollable amounts of time. Assuming I detect that the…
Drew Marsh
  • 33,111
  • 3
  • 82
  • 100
32
votes
10 answers

Determining how many messages are on the Azure Service Bus Queue

I know there is a way to determine the number of messages (or approximate number) in the Azure Queue (Store Account); however is there a way to query for the number of pending messages on an Azure Service Bus queue?
aceinthehole
  • 5,122
  • 11
  • 38
  • 54
31
votes
9 answers

Clearing azure service bus queue in one go

We are using a service bus queue in our project. We are in need of a functionality to remove all the messages from the queue when the administrator chooses to clear the queue. I searched on the net but could not find any function which does this…
bhavesh lad
  • 1,242
  • 1
  • 13
  • 23
29
votes
7 answers

Azure WebJobs ServiceBus returns Exception: found 2 DNS claims in authorization context

I'm trying to read a message from an Azure ServiceBus queue using an Azure WebJob but it's throwing and exception: Unhandled Exception: System.InvalidOperationException: Found 2 DNS claims in authorization context. I've set the correct connection…
19
votes
1 answer

azure service bus queue with multiple listeners / competing consumers with queue

Theoretically it looks like azure service bus queues is one to one with respect to message and receiver. Just wanted to know if it's possible to have more than one listeners to a queue. If it is 1:1, does it mean to realize competing consumers…
finch
  • 395
  • 1
  • 3
  • 7
19
votes
6 answers

How do you access the dead letter sub-queue on an Azure subscription?

When I use the following: var deadLetterPath = SubscriptionClient.FormatDeadLetterPath(topicPath,subName); var client = SubscriptionClient.CreateFromConnectionString(connectionString, deadLetterPath, subName); I get an InvalidOperationException…
kareem
  • 753
  • 1
  • 5
  • 10
19
votes
3 answers

Service Bus Workflow Activities

I would like to access Service Bus Queues and Topics from Workflows with some specific activities. I couldn't find anything fitting this scenario (this MSDN article and this article by Roman Kiss) are the nearest one. I would like to design a custom…
fra
  • 3,488
  • 5
  • 38
  • 61
19
votes
1 answer

Using QueueClient.OnMessage in an azure worker role

I have an Azure worker role that is responsible for checking 4 service bus queues. Currently, I just the looping method to manually check the queues. while(true) { //loop through my queues to check for messages } With the Azure SDK 2.0 came the…
18
votes
1 answer

Why use a QueueClient vs MessageFactory?

In Azure Service Bus, you can send a brokered message using QueueClient and MessageFactory. I would like to know why would you want to use one over the other.
Mitul
  • 9,734
  • 4
  • 43
  • 60
16
votes
3 answers

send msg to Azure service bus que via REST

The Azure Queues are exposed to REST API.To make the REST call works. I ran a sample test on POSTMAN. The POST call https://yournamespace.servicebus.windows.net/yourentity/messages Also, Passing below 2 headers and values. Header 1: Authorization:…
user3796942
  • 163
  • 1
  • 1
  • 6
16
votes
1 answer

Warning publishing Azure service bus queue trigger can't find named value in local.settings.json

I have a Azure service bus queue trigger function and when I created it it asked me 3 fields, access rights, connection and queue name. I put in listen for the access rights. For the connection I used the the 'primary connection' name given in the…
15
votes
7 answers

How to delete/clear active/dead-letter messages from Azure Service Bus Queue?

Is there anyway to delete/clear either the active/dead-letter messages from Azure Service Bus Queue in Azure portal? Currently we've sent a couple of messages to our queue while both the active and some dead-letter messages holds up there for…
Drex
  • 3,346
  • 9
  • 33
  • 58
14
votes
5 answers

Creating an Azure ServiceBus Queue via code

Apologies, I'm new to Azure. I created a service bus and queue via the Azure portal using this tutorial. I can write and read from the queue ok. The problem is, to deploy to the next environment, I have to either update the ARM template to add the…
1
2 3
67 68