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

Listen to Queue (Event Driven no polling) Service-Bus / Storage Queue

I'm trying to figure out how can I listen to an events on a queue (especially an enqueue event). Say I have a Console Application and a Service Bus Queue/Topic, how can I connect to the Queue and wait for a new message ? I'm trying to achieve this…
Ron
  • 1,744
  • 6
  • 27
  • 53
6
votes
1 answer

Service bus connection is not working from on-premise console application

I have created a .net core 3.1 console application for reading azure service bus queue messages and deployed the EXE in a client on-premise VM. It was working initially but now it is not working from VM (now also working from local machine). I am…
6
votes
4 answers

Azure Service Bus - Unauthorized access. 'Send' claim(s) are required to perform this operation

I am trying to access Azure Service Bus Queue from my Windows Service application. I am following this sample. I want to protect this Azure Service Bus using Azure Service Principal Below are the steps I have implemented Register an application…
6
votes
2 answers

ServiceBusTrigger on function app with deployment slots

I have a function app with a deployment slot for the purpose of development testing (e.g. blue/green) One of the functions is setup as a ServiceBusTrigger bound to a service bus queue. I do not want the function in the development deployment slot to…
6
votes
3 answers

Sequence processing with Azure Function & Service Bus

I have an issue with Azure Function Service Bus trigger. The issue is Azure function cannot wait a message done before process a new message. It process Parallel, it not wait 5s before get next message. But i need it process sequencecy (as image…
TuanDPH
  • 461
  • 5
  • 14
6
votes
3 answers

Azure Service Bus Queue: Can I manage/cancel scheduled messages?

If I schedule a message in the future using something like this: d = datetime.utcnow() + timedelta(minutes=5) task = {"some": "object"} sbs.send_queue_message( qn, Message( task, …
Callum M
  • 1,635
  • 19
  • 27
6
votes
1 answer

Azure Function ServiceBusTrigger triggers multiple times the same message within milliseconds without the first finishing

Why does the serviceBus triggers the same message multiple times? The same triggers get executed by the same message on the service bus: [FunctionName("ProcessOrderFromServiceBusQueue")] public static void RunQueueMessages( …
6
votes
2 answers

Azure service bus queue trigger function not picking up my queued message after running for a while

I have a service bus queue in Azure and a service bus queue trigger function. When I first publish the function and send a message to the service bus queue the function gets triggered and runs ok. But if I leave it alone and don't send any messages…
6
votes
1 answer

How to fetch messages from an Azure Service Bus Queue in "PeekLock" mode using AMQP?

We're trying to consume Azure Service Bus in a Node application. Our requirement is to fetch multiple messages from a queue. Since Azure SDK for Node doesn't support batch retrieval, we decided to use AMQP. While we're able to fetch messages using…
Jagrati Modi
  • 2,038
  • 1
  • 13
  • 26
6
votes
3 answers

Implementing an Azure Service Bus listener application

I'm developing ASP.NET Web API services and placing these onto an Azure Service Bus queue to be processed. The Web API services are hosted on Azure. I need to implement an application that listens for these messages and processes them when they are…
DomBurf
  • 2,452
  • 5
  • 36
  • 71
6
votes
1 answer

Service Bus - Singleton Connection Class?

I'm trying to figure out what is the best practice for using Service Bus from a Web-API. I've read that re-creating objects like QueueClient, SubscriptionClient and etc' is the wrong approach, so I need to reusing factories and clients. Service Bus…
Ron
  • 1,744
  • 6
  • 27
  • 53
6
votes
1 answer

Azure Service Bus, determine if OnMessage stops processing

Using Azure ServiceBus and the OnMessage call I am looking for a way to determine if the OnMessage event pump stops reading from the queue. Our connection to OnMessage is configured as below: protected virtual void DoSubscription(string queueName,…
VulgarBinary
  • 3,520
  • 4
  • 20
  • 54
6
votes
0 answers

How to use Azure Service Bus Queue Duplicate Detection only on waiting messages?

We are going to leverage the Azure Service Bus Queue to dispatch messages that trigger an expensive database calculation. These messages can be generated fairly rapidly, and there are instances where the same messages can be generated close…
CodeGrue
  • 5,865
  • 6
  • 44
  • 62
6
votes
1 answer

Azure Service Bus Subscriber Deadletter

I've looked everywhere for information on this but can't seem to find what i'm looking for. I've got an azure topic, with one subscription. The handler for the subscription failed some messages, they've been put on the deadletter queue. I can access…
Jamez
  • 1,559
  • 1
  • 15
  • 26
6
votes
1 answer

Azure Service Bus - MessageCommunication Exception Channel Open timeout

I am new to Azure Service Bus. I am trying to add message to Azure Service Bus Queue like below var message = new BrokeredMessage() { Label = inputFileEntity.FileName }; message.MessageId = new…
Gokul
  • 63
  • 3