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

Azure ServiceBus REST API total messages in a queue

I have been following the Azure Service Bus REST API documentation located at https://learn.microsoft.com/en-us/rest/api/servicebus/ I'm required to know the total number of messages in a queue before reading the first message. However, I cannot see…
user2574948
  • 247
  • 1
  • 3
  • 16
2
votes
1 answer

Do I need to call CompleteMessageAsync when I'm in ReceiveAndDelete mode?

I have the following Azure Service Bus code: private async Task startInternalAsync(CancellationToken cancellationToken) { await using var client = new ServiceBusClient(_connectionString); try { var processor =…
Jez
  • 27,951
  • 32
  • 136
  • 233
2
votes
2 answers

ImportError: cannot import name 'ServiceBusClient' from 'azure.servicebus'

I wanna run a simple Azure service bus program, I received the below error: ImportError: cannot import name 'ServiceBusMessage' from 'azure.servicebus' As I search on the internet, I should install Azure service bus and also I installed. My Python…
Shadi
  • 193
  • 2
  • 12
2
votes
0 answers

Azure Service Bus - Renew message lock automatically when using ServiceBusReceiver

Having spent long hours trying to find documentation and help around this resulting in nothing, I have decided to reach out to the community. I would like to read messages from a topic subscription. Using the message, a UI is populated for a human…
2
votes
1 answer

Azure Service Bus Retry Options Not Working

With no luck, I tried configuring my ServiceBusClient to retry a message with a Fixed Delay of 10 seconds. I also tried Exponential retries configuration. However, the code is always retrying the message within a second or 2 and completely…
Jeremy Ray Brown
  • 1,499
  • 19
  • 23
2
votes
1 answer

Is there a way to identify if a message is locked in Service Bus?

From the docs from Message browsing functionality of Azure Service Bus, it says we get InvalidOperationException when we try to access the Lock properties of a message. So we cannot access the lock duration and token details. Is there at least a way…
Deepak
  • 2,660
  • 2
  • 8
  • 23
2
votes
1 answer

Azure service bus javax.jms.IllegalStateException: The MessageProducer was closed due to an unrecoverable error

I am using ASB for enqueue/dequeue messages between components. Component A consumes messages from queue A and produces messages from queue B. It consumes then produces when consume. Both queues are using same Azure service bus with different queue…
Jonathan Hagen
  • 580
  • 1
  • 6
  • 29
2
votes
1 answer

Azure Service Bus Equivalent to RabbitMQ QoS

I am working on developing an application that uses Azure Service Bus Queues for distributing messages among the consumers. All my consumers are listening on a single queue. Here are few things that I want to clarify. Azure documentation on my…
Klaus
  • 1,641
  • 1
  • 10
  • 22
2
votes
2 answers

Azure Service Bus AMQP object receiver is aborted

When trying to add a message to an Azure Service Bus Queue, Sometimes I'm getting this error. Can anyone please explain why this happens? The setup is, We have an Azure durable function that invokes an activity function. That activity function adds…
2
votes
2 answers

Azure Service Bus: How to Renew Lock?

How do I renew the lock on a Receiving Queue Message Handler? On the Event Handler, test Message does not have renew lock property. Message…
user12425844
2
votes
1 answer

[azureservicebus - How to set MessageId using JMS in Azure Service Bus

Message Id gets overridden when sending message to Azure service bus using Spring JMS. Because of this reason, duplicate detection is not working as expected. I have read JMS documentation where it's been said that JMSMessageId can't be set by…
2
votes
1 answer

Programmatically create azure Service Bus queue and Azure Service Bus trigger for Azure Functions

I am working on a scenario where when I need to create a new servicebus queue and an azure function that is triggered whenever a message is dropped in the said queue. Is there a way to call an API pass in some parameters and have the queue and…
w2olves
  • 2,229
  • 10
  • 33
  • 60
2
votes
1 answer

Azure Service Bus - Peek a scheduled message

Im am using Python to develop a integration that read messages from different Azure Service Bus topics and queues. But I have an issue when scheduling messages. I am not able to peek the scheduled messages. I want to peek them, and then either…
2
votes
1 answer

Can't bind service implementation using DI inside function with ServiceBusTrigger parameter in .net core Azure Web Job

I have a .net core console application I am going to deploy as an Azure web job. The purpose of the job is to listen for new messages in an Azure Service Bus Queue. I have set the listener up using a function containing the [ServiceBusTrigger]…
2
votes
2 answers

What is alternate of ServiceBus MessagingFactory in .Net Core?

While converting my project from .Net framework 4.7 to .Net core 2.1, I'm facing issue with Servicebus MessagingFactory. I don't see any MessagingFactory class in new nuget package Microsoft.Azure.ServiceBus for .Net core. My .Net framework 4.7…
Pankaj Rawat
  • 4,037
  • 6
  • 41
  • 73