Questions tagged [azure-servicebus-topics]
660 questions
24
votes
5 answers
Using Azure Service Bus in local
I am working with Azure Service Bus Topics and Subscriptions. It's being used to send control messages across the application. The message listeners (subscribers) are running in a worker role and they are picking up the messages and processing the…

Pratik Bhattacharya
- 3,596
- 2
- 32
- 60
13
votes
3 answers
Azure ARM template for Service bus with Topics with many Subscriptions
Hi I have an ARM template for create a ServiceBus with its topics and subscriptions. But I can only accomplish 1 topic - 1 subscription because I cannot make a nested loop to create many subscriptions per topic.
I wish I could execute a template…

Omar Amalfi
- 379
- 1
- 2
- 14
13
votes
2 answers
Why "create topic" option is disabled on azure portal?
can someone please help me understand why the "Create Topic" option is disabled on Azure portal? I am on a free trial and can create/use queue properly. Now I need to use Topic/Subscription but not able to create a topic. Please see below screen…

vpv
- 920
- 2
- 20
- 46
13
votes
3 answers
How to debug ServiceBus-triggered Azure Function locally?
My function will be triggered from an existing ServiceBus topic. I have created the function using the new tooling in VS2017 (15.3) preview, as a compiled function.
How can I test this function locally?

Alf Kåre Lefdal
- 643
- 1
- 6
- 27
12
votes
1 answer
Lock duration significance on azure service bus topic subscriptions
I have been looking at lockdurations and renewlock mechanisms for service bus queue and topics. However it is not clear about what exactly does lock duration mean for topic subscriptions.
For example:
If i have a topic GameScoreUpdate and it has…

Mandar Jogalekar
- 3,199
- 7
- 44
- 85
12
votes
5 answers
Azure Service Bus: Best way to implement exponential retry policy for failed to process messages
I am continuously receiving messages in peek mode and abandoning them if processing fails (Not the delivery). However, the message immediately becomes available again and is received for processing again. It fails quickly again and after max…

dvitonis
- 263
- 3
- 9
9
votes
1 answer
Refer Topic and Subscription name from Configuration in an Azure Function with Service Bus Trigger
I have an Azure Service Bus with Service Bus Topic trigger. My function looks something like this
[FunctionName("SbListener")]
public static async Task Run(
[ServiceBusTrigger("test-topic", "test-sub-1", Connection =…

Pratik Bhattacharya
- 3,596
- 2
- 32
- 60
9
votes
3 answers
How to purge messages for Service Bus Topic Subscription
Just wondering the best way (even if via Portal, Powershell, or C#) to purge the messages off of a Service Bus Topic's Subscription.
Imagine we have a topic with 4 subscriptions, and we only want to purge the messages from one of the…

Stefan Zvonar
- 3,959
- 3
- 24
- 30
9
votes
2 answers
Azure Service Bus - Round Robin Topic to Multiple Services
Here's the scenario:
Publisher #1 ═══╗ ╔═══ Round Robin ═══╦═══ Subscriber #1 (Service 1)
║ ║ ╚═══ Subscriber #2 (Service 1)
╠═══ Topic ═══╣
║ ║ …

Blue
- 22,608
- 7
- 62
- 92
9
votes
1 answer
Is Azure Service Bus message pump really event-driven?
So we've been looking into the Azure Service Bus recently and we're a bit confused as to whether we should use an infinite loop to poll the queue/subscription or whether we should use the OnMessage callback/message pump functionality. What is going…

Andy Furniss
- 3,814
- 6
- 31
- 56
8
votes
1 answer
Azure Service Bus Triggered Function - Bind to MessageReceiver
I'm trying to bind to MessageReceiver in an Azure Service Bus Triggered Function.
My goal is to handle dead letter queue messages and complete them.
public static class Function1
{
[FunctionName("Function1")]
public static…

albin
- 607
- 6
- 10
8
votes
1 answer
Is Azure Service TopicClient Thread Safe & Reusable?
We are using Azure SDK to publish message to Service Bus.
In Web API call we're doing these tasks repeatedly for each incoming request
MessagingFactory factory = MessagingFactory.CreateFromConnectionString(conStr);
factory.RetryPolicy = new…

Abhijeet
- 13,562
- 26
- 94
- 175
8
votes
1 answer
qpid proton url for receiving messages from a given subscription (of a topic)
I would like to read subscription messages from service bus. I am using qpid-proton library for python. I am following this link to receive messages Proton-Python-Example-Simple-Receive. I am passing this url to receive messages from service bus -…

Anurag Sharma
- 4,839
- 13
- 59
- 101
8
votes
1 answer
The operation did not complete within the allotted timeout of 00:01:00
I am using code snippet to send message into the service bus topic.
try
{
// sb is instance of ServiceBusConfig.GetServiceBusForChannel
await sb.SendAsync(message);
}
catch (Exception ex)
…

Sudhir Goswami
- 125
- 1
- 9
7
votes
2 answers
What is the "entityPath" in Azure ServiceBusConnectionStringBuilder?
I want to use the ServiceBusConnectionStringBuilder to connecto to the Azure Service Bus.
When I enter the connection string generated on Azure to the constructor with one parameter
public ServiceBusConnectionStringBuilder (string…

canvee
- 361
- 4
- 12