Questions tagged [azure-servicebus-topics]

660 questions
3
votes
2 answers

Timeout exception when peeking a session enabled topic/subscription with no active messages

I am writing some code to monitor our azure servicebus queues and topics, I want to notify if we have old messages. My code works except that, if a subscription does not have any active messages in it, then it will hang for one minute and then throw…
3
votes
3 answers

Azure Service Bus Retry Options Not Working (v5.2.0)

I'm using version 5.2.0 of the Microsoft.Azure.WebJobs.Extensions.ServiceBus package in my Azure Function. According to the docs here the new version supports automatic retry on failed operations. This is my host.json: { "version": "2.0", …
3
votes
2 answers

How to remove deferred azure service bus messages?

I'm using deferred messages and manage to retrieve them and process them the way I want. Now I need a way to delete them (normal messages can be "Completed") so they don't stay forever but I can't find out how. Here's how I retrieve the message: var…
serge_portima
  • 111
  • 1
  • 10
3
votes
1 answer

Service Bus Forwarding to another Service Bus

I need to create an architecture that receives messages from different Azure Service Bus topics. Those topics are in the same Service Bus Namespace. To do so, I can create one subscription for every topic. The architecture should be able to start…
Alejandro Alvarez
  • 131
  • 1
  • 3
  • 9
3
votes
1 answer

Azure Service Bus Topic Requests vs Messages

I need help interpreting these graphs: It has 0 subscriptions. Does this mean nothing is reading from this topic? Looking at the Messages graph, in the last 30 days, no messages have been received or read from this topic. Why are there 368 incoming…
David Klempfner
  • 8,700
  • 20
  • 73
  • 153
3
votes
2 answers

Azure Service Bus - Spring Boot disable autostart (com.microsoft.azure : azure-servicebus-spring-boot-starter)

I have the following implementation to consume the message from Azure Service Bus using Spring Boot application however I want to be able to control the ServiceBusConsumer from automatically start listening to the Topic using Spring boot profile…
3
votes
1 answer

Get Queue name or Topic+Subscriber name in azure function (Azure Service Bus triggered functions)

Is it possible to get the queue name in a service bus triggered Azure Function? I know it is possible if the QueueName or TopicName+SubscriberName are hard coded. In that case I can make a const string and use it inside the function. However my…
3
votes
2 answers

Azure Function Service Bus trigger fires more times than messages in the queue

I have two Service Bus Queues and Azure Service Bus Queue Trigger. The function reads 1000 messages from the queue and forwards them to another (for test) When publishing to Azure (plan consumption) I get 1030+ function hits even though I only have…
3
votes
1 answer

It is not possible for an entity that requires sessions to create a non-sessionful message receiver for azure IMessageReceiver

I'm trying to get messages from Azure Service Bus via java application. I created necessary client config and for example there was successful connection through ManagementClient @Bean public ClientSettings getMessageReceiver() throws…
3
votes
1 answer

What is max throughput and message rate a message unit can support in Azure Service Bus

I am trying to do cost calculation for the azure service bus premium tier. I could not found the answer to the following simple questions What max message rate a single message unit can support What max throughput(data size/sec) a single message…
3
votes
2 answers

Register multiple singletons with same interface but different constructor parameters values

I got stuck and need some advice or pointer to a solution. A web API with ASP.NET Core 3.1 Startup.cs services.AddSingleton(s => new TopicClient({connectionstring},{topic})); TopicRepository.cs public class TopicRepository :…
3
votes
1 answer

About Correlation Filter/SQL Filter in Azure Service Bus

Can we have negative conditions in Correlation filters or we can only use SQL Filters to have -ve conditions on User/System Properties ? Also, Is it okay to delete and add a new rule as we have the requirement to update the filters (It's Always to…
3
votes
1 answer

Timer based Azure function with Table storage, HTTP request, and Azure Service Bus

I have a process written in a console application right now that fires on a scheduled task to read data from Azure table storage and based on that data, make API calls to a third party vendor we use, deserialize the response data, loop over an array…
3
votes
1 answer

Microsoft Azure WebJobs SDK ServiceBus connection string 'ServiceBusSettings.ConnectionString' is missing or empty

The Main Method is as shown below, class Program { static void Main(string[] args) { var builder = new HostBuilder(); builder.ConfigureWebJobs(b => { b.AddAzureStorageCoreServices(); …
3
votes
1 answer

Azure Service Bus Topic Receiving messages

Referring to https://github.com/Azure/azure-service-bus/tree/master/samples/DotNet/GettingStarted/Microsoft.Azure.ServiceBus/BasicSendReceiveUsingTopicSubscriptionClient, I understand how Azure Service Bus Topics work in general, my question is more…
Thomas
  • 1,970
  • 4
  • 28
  • 59