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

How to DeadLetter a brokered message on custom exception

I need to move my BrokeredMessage to deadletter queue forcefully, if I got a custom exception. Here is my code I have used: public static async Task Run([ServiceBusTrigger("myqueue", Connection = "myservicebus:cs")]BrokeredMessage myQueueItem,…
3
votes
2 answers

Azure Service Bus - Message Count in JAVA

How could i get the total number of unprocessed message count from Azure Service bus using JAVA. Is there any API that can show the total number of message that is yet to be processed. Is there any equivalent to the below .Net library in JAVA link…
Rasmi
  • 501
  • 1
  • 6
  • 26
3
votes
1 answer

MassTransit creates queues on azure service bus

I developed a simple publish/subscribe example on a MassTransit and azure service bus as a message broker. The thing that I don't understand is that every time I start my solution MassTransit creates a queue per each service instance that connects…
3
votes
1 answer

Retrieve properties of Service Bus message in Node.js Azure Function

I use Azure Service Bus to communicate IoT Hub with Node.js Functions. On Function side, I need to have access to message body as well as custom properties. By retrieving messages elsewhere, I have noticed that my message in Service Bus consists…
3
votes
1 answer

Service Bus Queue output binding for Azure Functions doesn't support 'ScheduledEnqueueTimeUtc'?

I'm trying to write an azure function that supports 'retries' or future calls based on a service bus queue. It seems that the output bindings don't support any brokerProperties in the payload, is this correct or am I simply doing it wrong? I'm able…
rjbez
  • 802
  • 2
  • 12
  • 21
3
votes
3 answers

Azure function binding multiple Service Bus events

Is there a way to make an Azure function triggerable by multiple Service Bus event queues? For example, if there is a function which logic is valid for multiple cases(event start, event end- each inserted into a different Service Bus queue) and I…
3
votes
0 answers

While receiving JSON from azure service queue , some repeated values are getting appended after the end of json

I am facing a dilemma with my code, My problem statement is that when I am sending JSon to Azure Service Bus through this piece of code BrokeredMessage message = new BrokeredMessage(jsonStr); and printing the JSON in Sender code , through…
nikita kakraniya
  • 141
  • 2
  • 14
3
votes
2 answers

Message from Azure Blob Storage to Azure Service Bus

I'm trying to figure out if Azure Blob Storage has similar functionality to Amazon S3. An S3 bucket can be configured in a way, that when new object is created, bucket sends message to SQS. I'm wondering if Azure Blob Storage is able to do the same…
pawel.kalisz
  • 1,246
  • 1
  • 18
  • 26
3
votes
2 answers

How to check the Azure Service Bus queue is empty?

I'm using azure service bus queues in my application and here my question is, is there a way how to check the message queue is empty so that I can shutdown my containers and vms to save cost. If there is way to get that please let me know,…
3
votes
1 answer

Azure Function - c# - ServicebusTrigger with Blob binding

I have a python function with a servicebus trigger and a blob input binding. The name of the blob match the content of the queue message. My function.json file looks like that: { "bindings": [ { "type": "serviceBusTrigger", "name":…
Thomas
  • 24,234
  • 6
  • 81
  • 125
3
votes
1 answer

Azure service bus partitioning : What happens when partition of partitioned queue is fully consumed?

When a message is enqueued into a partitioned queue, service bus checks for the presence of a partition key. If it finds one, it selects the fragment based on the partition key. But what happens when that fragment is full, there is no more space…
Jagrati Modi
  • 2,038
  • 1
  • 13
  • 26
3
votes
1 answer

Azure Service Bus Queue - Release locked message back to the queue

Is there a way to unlock a locked message in the queue before the timeout, so that it is available again to the queue (a way to change the lock timeout to a very small value would be good enough). A similar functionality is available in AWS SQS,…
Saw
  • 6,199
  • 11
  • 53
  • 104
3
votes
1 answer

Multi tenant system with service bus

I am working on a multi tenant service which will process long running jobs from multiple tenants. I am considering service bus queue/queues to hold requests from tenants. Background job processor can process limited number of jobs at any given…
Usman Khan
  • 139
  • 2
  • 12
3
votes
3 answers

Rebus multiple Queues based on content

Setup: Rebus in asp.net mvc project using SimpleInjector. I need to create two handlers which receive messages, each from a specific queue. By following what I have found on this SO answer I have created similar code. In a class library I have a…
Lorenzo
  • 29,081
  • 49
  • 125
  • 222
3
votes
1 answer

Azure QueueClient MaxConcurrentCalls Not Working

I have been tasked to improve the performance of a worker role which processes the messages from the queue. It uses queueclient.OnMessage model with MaxConcurrentCalls setting as 1. During the processing there is thread.sleep for 5 minutes and that…