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
3 answers

How to read from multiple queues in real-world?

Here's a theoretical question: When I'm building an application using message queueing, I'm going to need multiple queues support different data types for different purposes. Let's assume I have 20 queues (e.g. one to create new users, one to…
2
votes
0 answers

In C#, How can I limit the number of messages received in an instance of a Service Bus Trigger Azure Function

I have this function which works as expected: [FunctionName(nameof(ListenAsync))] public async Task ListenAsync( [ServiceBusTrigger("%AzureServiceBus:EmployeeEventEntityPath%")] ServiceBusReceivedMessage[] messages, …
2
votes
2 answers

Using Azure Service Bus to handle lots of votes and process results with Azure Functions

I am creating a poll app. Users can define one or more poll questions and configure answer options. Guests can join a session and when a poll (question) is activated, start voting. Basically what a standard poll looks like. For processing the…
2
votes
1 answer

Using FunctionContext.RetryContext throws Nullreference on ServiceBusTrigger

I try to receive the number of retries in a ServiceBusTrigger: (from a servicebusqueue) using Microsoft.Azure.Functions.Worker; [Function("SyncQueue")] public async Task HandleSyncEvent([ServiceBusTrigger("sync-events", Connection =…
Ole Albers
  • 8,715
  • 10
  • 73
  • 166
2
votes
0 answers

Azure service bus message auto renewal not working as expected

I have a python service which sends and receives message from azure service bus queue. As per my setup the received will take long time to do some precess and finally completing the message. To tackle this scenario added auto lock renewal with…
2
votes
1 answer

Azure Function Service Bus - Managed Identity - Service Bus account connection string

I've followed the azure guides on setting up a managed identity for Service Bus. I'm running into the following error: Service Bus account connection string 'ServiceBusConnection' does not exist. I do have the "connection" in the function.json…
2
votes
1 answer

Should I use Azure Topics over Queues?

I understand that Topics have the additional features of subscriptions and filters which Queues do not. In which case, when would I absolutely need to use a queue over a topic? For consistency, could I use a topics everywhere including as a…
userSteve
  • 1,554
  • 1
  • 22
  • 34
2
votes
1 answer

Send messages to and receive messages from Azure Service Bus queues

I have to send & receive messages between R and Azure Service Bus. This is possible with Python, Java, .Net but there is no help for R script. As I'm limited to use only R to achieve this, is there any resource/documentation available to refer.
msr_003
  • 1,205
  • 2
  • 10
  • 25
2
votes
1 answer

QueueClient Class alternatives

Microsoft has deprecated the package named Microsoft.Azure.ServiceBus and updated the package as Azure.Messaging.ServiceBus but in the recent update they have removed the QueueClient class. So what is the alternative for this QueueClient…
shubham
  • 41
  • 1
  • 6
2
votes
1 answer

Optmize receiving messages from Azure Service Bus in batch mode

We have a service bus(Standard Plan) queue with 200K+ messages. We wanted to read the message from the service bus in a batch of 2k-5K and insert it into the SQL Db in batches using Azure functions(Every 30 minutes). Most of the time the…
2
votes
1 answer

How to use azure-spring-cloud-stream-binder-servicebus-queue to accept messages without deprecated class Checkpointer

We use the java library azure-spring-cloud-stream-binder-servicebus-queue in version 2.11.0 to receive messages from an Azure service bus. We have an implementation according to the recipe recommended at…
Manla
  • 61
  • 3
2
votes
0 answers

How to get SessionId from Azure Service Bus Queue trigger in Azure Function using java?

I am trying to get SessionId, DeliveryCount from an Azure Service Bus Queue trigger in a Java Azure function. I am able to do this easily in a C# Function App. Somehow I found a way to get the Application Properties using binding. But unfortunately…
Jeevan
  • 43
  • 5
2
votes
1 answer

Retrieve messages using partition key from Azure Service Bus Queue

If we can store messages by specifying partition key, then how we can retrieve all messages from a particular partition by specifying the partition key?
2
votes
2 answers

Azure.Messaging.ServiceBus unable to configure TransportType

I'm currently trying to make use of the Azure.Messaging.ServiceBus package following this Getting Started page. I ran into a problem where I would receive the following error: Azure.Messaging.ServiceBus.ServiceBusException: 'An existing connection…
2
votes
0 answers

How to Auto renew the lock duration of Service bus queue message

I am using latest version of .net sdk (Azure.Messaging.ServiceBus). I want to renew the lock duration of the message since processing of messages takes more than 5 min so that other listeners/consumers to the client cant receive while one of the…