Questions tagged [azure-servicebus-subscriptions]

182 questions
0
votes
1 answer

How to Send message to Azure Service Bus Subscription Deadletter using Rest Api with deadletter Reason and Error Description?

I can't find an example of how to send a message to a Azure Service Bus Subscription DeadLetter using rest api. It appears that the suffix for the endpoint should be /Subscriptions//$deadletterqueue. However, I can't find an example of how to pass…
0
votes
1 answer

How to avoid message going to `deadletter` queue azure service bus

I am consuming messages from service bus topic/subscription. The ProcessMessage adding messages to one capacity bounded queue (not more than 200 messages at a time). Once one message processing is done then I made it CompleteAsync, only when…
0
votes
1 answer

Multiple Subscribers forwarding it to the same Queue - Azure

I'm looking to utilize the same queue for multiple subscriptions, Just wondering if this a good practise, and what are pro's and con's of this design?
0
votes
1 answer

How to set PartitionKey property from stream analytics on the output message to service bus?

I have following setup: Event hub Service bus topic with a single subscription that accepts all messages from the topic (for my POC) Above service bus subscription is setup with sessions enabled Stream analytics (SA) job that moves the events from…
0
votes
2 answers

How to register to receive service bus session messages that only have a particular session id?

I am using .net core 3.1 and Microsoft.Azure.ServiceBus (version 5.1.3). I have a service bus topic with one subscription that can handle session messages only. A topic client can send 3 messages with session id (say ABCD) and then sends another 4…
0
votes
1 answer

Azure - ServiceBus: EnqueueTimeUtc is not accurate

I noticed that the message's EnqueueTimeUtc value is not accurate I am using ServiceBus Topics and Subscribers for my system The Sender side is written in .NET using "Microsoft.Azure.ServiceBus" Version="4.1.1" NuGet package Using the SendAsync()…
0
votes
0 answers

Azure Service Bus Explorer - "Could not contact host in connection string"

I'm getting this error when trying to connect via Service Bus Explorer. My connection string is perfectly fine and works in my application. What may be wrong?
0
votes
1 answer

Best practice or recommended approach for handling Exception in azure service bus?

Given that SessionLockLostException and MessageLockLostException are expected exceptions and the user is expected to handle those scenarios irrespective of whether there is a subscription update happening or not. The lock is in-memory and can be…
Scooby
  • 635
  • 3
  • 9
  • 21
0
votes
1 answer

Azure Service Bus Session Enabled Subscription Creation through ARM template

I was able to create a service bus namespace, topic and subscription using the following example: https://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-resource-manager-namespace-topic-with-rule I wanted to understand how is it…
0
votes
1 answer

Should we close session on Azure service bus subscription client

I am using Azure service bus topic/subscriptions with sessions. I am setting a hardcoded value for the sessionId as I want to control processing of incoming messages. So even if there are more than one eligible subscribers which can process this…
0
votes
1 answer

Reprocess deadletter message from subscription

Suppose u have a topic with multiple subscriptions and u want to resubmit/reprocess a message in the dead-letter queue of one subscription. How would u do that so that only that subscription picks up the message again? Without having all other…
0
votes
1 answer

Azure Servicebus Competing consumers with round robin

Are competing consumers of an Azure ServiceBus Queue / Subscription meant to round-robin? I'm looping back to a question I asked a while back, and doing a little more testing. There, I understood that a positive PrefetchCount was causing one client…
0
votes
1 answer

Duplicate message to subscribers even using AutoLockRenew

I am using AutoLockRenew class register method after receiving message from azure service bus topic subscription using azure sdk for python. Even if you use AutoLockRenew.register() method in python which takes care of automatically renewing the…
0
votes
1 answer

Azure Service Bus exception - MessageLockLostException: The lock supplied is invalid. Either the lock expired, or the message has already been removed

By using the Azure service bus topics and Subscriptions - I am able to pass message between the two systems. But however sometimes, I get this lock expired exception. How to avoid it ? Exception - Message handler encountered an exception…
user2294434
  • 123
  • 4
  • 16
0
votes
2 answers

How to control/reduce throughput in Azure Service Bus

I am looking into Azure service bus topics and subscriptions in our distributed system. I want to control number of messages that can be processed at any given time. Say, we have say 5 nodes in the production and I understand I can specify Maximum…