Questions tagged [azure-queues]

Microsoft Azure (formerly Windows Azure before March 25, 2014) is a cloud computing platform and infrastructure, created by Microsoft, for building, deploying and managing applications and services through a global network of Microsoft-managed data centers. Azure Queue storage is used for transporting messages between applications as normally we can consider a MSMQ do that in cloud.

Azure Queue Storage is a service for storing large numbers of messages. You access messages via authenticated calls using HTTP or HTTPS. A queue message can be up to 64 KB in size. Queues are commonly used to create a backlog of work to process asynchronously.

Azure Queues documentation

Tagging Recommendation:

Use the tag, for all Azure Queue Storage-related questions.

425 questions
2
votes
1 answer

How do you tell if Azure CloudQueue.AddMessage was successful?

When you post a message to an Azure Queue how do you tell if the message was successfully posted? When Using the following code: queue.AddMessage(message); We have found that in some situations the message is not posted to the queue. Looking at the…
Aran Mulholland
  • 23,555
  • 29
  • 141
  • 228
2
votes
1 answer

Azure Webjob Queue trigger not working

My queue trigger works only when the azure queue is being populated with messages and when simultaneously the webjob is running.(in my local dev environment) But when i start the webjob (having the queue trigger) first , and then after a few seconds…
NeuralLynx
  • 197
  • 1
  • 2
  • 14
2
votes
1 answer

How can i set queuename in rebus azure queue oneway client

I have a rebus- worker that runs on azure queue, I have configured the rebusworker that will receive and send messages and it works fine. But then I want to set up a client as a oneway client like this: _bus = Configure.With(adapter) …
vegard.p
  • 21
  • 1
2
votes
2 answers

How does the Azure WebJobs SDK allow a specific list of parameters to be injected into a Function method?

The Azure SDK (for Queues) mentions a specific list of parameters that are allowed to be passed into a webjob Function. e.g. You can get the following message properties by adding parameters to the method signature: DateTimeOffset…
Pure.Krome
  • 84,693
  • 113
  • 396
  • 647
2
votes
1 answer

Windows Azure - Web Role cannot access Local Development Queue Storage

I have a class library that is shared between multiple Role projects in my solution. Two of these projects are a Web Role and a Worker Role. They each have the same Configuration Setting:
2
votes
0 answers

Single Queue or Multiple Queue on Azure, Multiple subscriptions on same topic

In my application, we have different type of messages, like failure events, state change events etc. These events can further classified as process failed, machine failed etc. And we have different logic to handle different type of events (Process…
Pragmatic
  • 3,093
  • 4
  • 33
  • 62
2
votes
2 answers

What is causing Thread Contentions with my Azure Queue code?

I just ran the Visual Studio 2010 Thread Profiler against my Azure code and noticed I'm getting a LOT of contentions. My code is blocked more often than it is running! My worker has no custom threading logic in it at all. It is a simple While loop…
Vyrotek
  • 5,356
  • 5
  • 45
  • 70
2
votes
2 answers

How to handle exceptions in Python Azure Storage SDK

I am trying to implement a job which reads from Azure Queue and writes into db. occasionally some errors are raised from the Azure server such as timeout, server busy etc. How to handle such errors in the code, I tried ti run the code in a try catch…
Ameen Rashad
  • 514
  • 6
  • 17
2
votes
2 answers

How to Return HTTP Status Codes from Azure Queue's in C# ASP.NET Web API 2

I have a web api (written in c# on ASP.NET Web API 2). One of the methods takes a HTTP POST and adds it to an Azure Queue. I'd like to know how I can get hold of a http status code (or whatever is available) from the Azure Queue so that I can return…
Neil Billingham
  • 2,235
  • 4
  • 23
  • 34
2
votes
2 answers

Powershell: How to create/Manage Shared Access Policy for a Service Bus queue

Am able to create the queue with the below code, $queuename = "samplequeue" $CurrentNamespace = Get-AzureSBNamespace -Name "mynamespace" $NamespaceManager =…
2
votes
3 answers

Azure WorkerRole trigger on queue like WebJob

I'm used to use webjob on Azure triggering an Azure queue. It works like a charm. Azure tutorial webjob + queue static void Main(string[] args) { JobHost host = new JobHost(); host.RunAndBlock(); } public static void…
Julian50
  • 2,462
  • 1
  • 21
  • 30
2
votes
1 answer

Azure queue - return timed out messages to the head of the queue

When a message is retrieved from an azure queue but not deleted from it, the messages visibility timeout expires and the message is (re)added to the end of the queue. Is there a way to return such messages to the head of the queue instead?
Malt
  • 28,965
  • 9
  • 65
  • 105
2
votes
2 answers

Subscribing to an Azure Queue

I have an Azure web site that generates reports. The reports take ~45 seconds to generate and I'd like to migrate that a worker role to lessen the load on the web site. I've been researching which tool to use to enable the web site to pass a…
2
votes
2 answers

Azure Queue, AddMessage then UpdateMessage

Is it possible to Add a message to an Azure queue then, in the same flow, update or delete that message? The idea would be to use the queue to ensure that some work gets done - there's a worker role monitoring that queue. But, the Web role which…
Justin R
  • 371
  • 2
  • 9
2
votes
3 answers

Azure Storage Queue - CloudQueueMessage different types

I have a queue in Azure storage and I want to be able to add different message types to the queue and parse them as their specific types. For example. public class Customer { public Customer() { } public string Name { get; set;} …
David Dury
  • 5,537
  • 12
  • 56
  • 94