How are we doing? Please help us improve Microsoft Azure. Take our short survey

Questions tagged [azureservicebus]

Microsoft Azure Service Bus provides a hosted, secure, and widely available infrastructure for widespread communication, large-scale event distribution, naming, and service publishing. Endpoints can be located behind network address translation (NAT) boundaries, or bound to frequently-changing, dynamically-assigned IP addresses, or both. Service Bus comes with a 99.9% uptime SLA.

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

Missing Azure Service Bus events/messages

During the RCA of an incident, we found that our application had logged (via App Insights), that 28 messages were dropped on a service bus topic. Looking at the service bus metrics, it shows that all ...
Matt M's user avatar
  • 1,235
0 votes
1 answer
53 views

Azure Fuction DARP Publish set up scheduling option in Azure Service bus message

I want to create an Azure function(using C# and DARP API), which gets triggered when a message comes into an Azure Service Bus and then publishes a test message to a topic in Azure Sevice bus. But I ...
Piyush's user avatar
  • 359
0 votes
1 answer
23 views

Azure Service Bus - Token issuer is invalid

I am trying to create a simple SpringBoot application that receives message from Service Bus, but when I try to connect with DefaultAzureCredentialBuilder I am getting this error: Failed to create ...
Matheus Weber's user avatar
0 votes
1 answer
57 views

Is using AddAzureClients and a clientFactory for Azure ServiceBus DI preferred over a singleton implementation?

I've got two different implementations of a service class that we use from our web-app to talk to Azure Service bus. They both work. One is what I would consider to be a standard singleton service ...
Mark's user avatar
  • 3
0 votes
2 answers
48 views

How can I speed up posting to ServiceBus?

The following Azure Function is running on Azure (UK South) and posting messages to a Service Bus that is also in UK South. This is taking 25 seconds, which means I am getting a rate of approximately ...
Peter Morris's user avatar
  • 21.1k
0 votes
0 answers
15 views

Wildfly and Azure Servicebus

I run WF27 in a docker container deployed on Azure Container Apps. I will now need to to connect to the Azure Service Bus (Premium). Using Microsofts resource <dependency> <...
Gerry Askefalk's user avatar
0 votes
0 answers
40 views

How to delete or Clean " Dead Letter Query " in Azure Service Bus by Logic

Requirement : Recurrence every week when msg go to Dead letter Query , manager/Responsible Person get notification by email Condition / Action : 1.Msg will be automatically deleted after 10 day from ...
emran hossain's user avatar
1 vote
1 answer
58 views

Continually receiving messages from Azure Service Bus subscription/queue

I want to have a standard function to continually listen/receive messages from an Azure Service Bus queue. I want a fairly efficient way we can handle the scenario that no messages are on the ...
brettjames25's user avatar
1 vote
0 answers
79 views

My Azure service bus receiver closes due to Idle Timeout and I haven't found a way to fix it

I have a pretty basic .NET 6 app which only goal is to receive messages from Azure Service Bus and handle them. When my app works, I am pretty happy with the result and it is answering the business ...
Dodge's user avatar
  • 41
0 votes
1 answer
60 views

Successful requests but no messages in Azure Service Bus

I have an Azure function that sends messages to a Azure Service Bus queue with the following code : class ServiceBusSenderClient: def __init__(self, fully_qualified_namespace, queue_name): ...
Nakeuh's user avatar
  • 1,769
1 vote
1 answer
67 views

Consume service bus message after x time

I'm doing a project to study more of brokers and i'm using .NET 6.0 and Service bus to do this. My question is: I need to publish a message and consume the same message only after a few time (i put ...
Filipe Eduardo's user avatar
1 vote
0 answers
76 views

MessageLockLost: Service Bus message expires even with regular renewals

I'm trying to understand why Service Bus message expires even with regular renewals if task duration is longer than ~20 minutes. I configured Service Bus receiver to work with long-running tasks. For ...
Yuriy Gavrishov's user avatar
0 votes
1 answer
45 views

Create Single Queue trigger azure function for multiple azure storage queues or single service bus trigger function for multiple topics

I have 5 different queues and I want to create an Azure function which should listen to all those queues but I have read that "QueueTrigger" attribute can listen to single queue only. Is ...
Asif Khokhar's user avatar
0 votes
1 answer
80 views

Azure: DrainMode stopping ServiceBus listeners spams TaskCanceledException

We're running several ServiceBus listeners in Azure Functions on the Azure platform. We are using consumption plan, meaning resources on Azure are assigned/unassigned as needed. When Azure unassigns ...
Kars's user avatar
  • 875
0 votes
1 answer
43 views

Increase intervals between processing attempts for service bus triggered azure function

I have Service Bus Triggered Azure Function which processes incoming messages. It has usual 10 attempts before message ends up in DLQ. To process the message the function reads information from ...
walruz's user avatar
  • 1,145
0 votes
1 answer
77 views

.NET MassTransit - Create subscription for Azure Function

Hi as phatboyg told me and states in his article, for azure functions you need to create a topic/subscription yourself. How do you feel about this? I tried to create a topic using the SDK however ...
Katarina's user avatar
0 votes
0 answers
92 views

How to simulate a ServiceBusProcessor instance for unit testing in C#

I am relatively new to service bus and understanding it. I recently created a class that serves the single purpose of processing messages and ingesting them as they come via service bus and some other ...
linglingslinguini's user avatar
0 votes
1 answer
100 views

Azure Service Bus subscription filters not working

I hope someone can shed some light on this as its wasted a day of my time already with no end in sight. I am sending messages to a topic/subscription setup in Azure Service Bus and using the subject/...
DavidBorneman's user avatar
0 votes
0 answers
44 views

How to paramatize service bus managed identity in 'connections.json' for standard logic apps?

I'm attempting to deploy a standard logic app with a service bus connector using a user assigned managed identity but I can't get it to work via terraform and ARM. It looks connected in portal when I ...
Konzy262's user avatar
  • 2,807
0 votes
1 answer
49 views

How to mock ProcessMessageEventArgs object to pass as a parameter in a method from a test method in c#

I am writing a test method for below mention method - Method in my concrete class - public async Task ReadServiceBusMessage(ProcessMessageEventArgs args) { // Some code } -- In my test method- ...
Rajesh Thakur's user avatar
0 votes
1 answer
41 views

ADO Service Hooks (fire on workitem.update) slow / unreliable?

In my ADO project i have set up some service hooks that fire events to an azure service bus queue. The service hook is set to fire whenever i update a work item. The connection is working seemingly ...
MarcBrejner's user avatar
0 votes
1 answer
46 views

Azure service bus queue for multiple regions

We have a requirement with a low latency solution that should deliver a message to the customer queue in multiple regions. We will use the Service bus queue for it. In this case, we need to have an '...
Artem Polishchuk's user avatar
0 votes
2 answers
48 views

Exception The lock supplied is invalid. Either the lock expired, or the message has already been removed from the queue in Azure

My application is subscribed to an Azure service bus topic. I do some processing when the service receives a message, It works as expected when the processing time is small. But when it takes much ...
Vivek Nuna's user avatar
  • 26.2k
0 votes
0 answers
54 views

Handle concurrency receive requests service bus azure

We reach sometimes the maximum number of handles which is allowed at 4999 in Service Bus Azure. We notice that it is due to the limit of concurrent request from receive one of our Function App. How to ...
tboll's user avatar
  • 57
0 votes
1 answer
77 views

Using Azure Service Bus Topics in Blazor Server

I am trying to implement a message receiver in a Blazor Server web application. The code for this operation is pretty straight forward. Inject a ServiceBusClient in the specific page. Create a ...
Henrik Bengtsson's user avatar
0 votes
1 answer
111 views

.NET Mass Transit - MassTransit.NotAcceptedStateMachineException

Hi I have a problem in state machine and I really don't know what to do anymore. The thing is that the state machine works as it should, but if an exception occurs in the consumer from the ...
Katarina's user avatar
0 votes
1 answer
47 views

Why Is My Azure Service Bus Client Token Expiring?

I have an application written in C# that processes messages placed on an Azure Service Bus Queue. This application is a BackgroundService running as a Windows service using the AddHostedService method....
Bob Mc's user avatar
  • 1,980
0 votes
0 answers
31 views

Jms connection timeout

I'm using jms to publish messages to Azure service bus and jmsListener to fetch published data from service bus. Sometimes I come across below error: Caused by: org.apache.qpid.jms.provider.exceptions....
Cdac15655482's user avatar
0 votes
0 answers
54 views

Dynamic subscription in Azure Service Bus [closed]

We might be looking at the wrong technology here, but we're looking to use Service Bus to notify various clients of various events that they may need to update their UI for. For example, 'User XXX has ...
GoldieLocks's user avatar
0 votes
1 answer
31 views

Same message on Azure service bus topic is received by multiple instances of the same service

I have a service which is subscribed to an Azure service bus topic. My service is running on multiple pods in Kubernetes. Ideally, when there is a message on the topic, one instance should pick it and ...
Vivek Nuna's user avatar
  • 26.2k
0 votes
1 answer
54 views

.NET - MassTransit - StateMachine fault message for all

I have a question about statmachine in the masstransit library. This is my code: public Event<Requested>? Requested { get; } public Event<Started>? Started { get; } public Event<...
Lubos Hnedy's user avatar
0 votes
1 answer
17 views

How to handle jmsTemplate.receive no response case

I'm using jmsTemplate.receive("queueName") to receive data from service bus queue. I'm using it as an API request. One issue I'm facing is if no message left to process from the queue it's ...
Cdac15655482's user avatar
1 vote
1 answer
63 views

How to exit application when C# ServiceBusClient can't connect to Service Bus

When my .NET 7 worker service application can not connect to a service bus instance, I want it to error/exit. I see an error in the logs: [ERR] ErrorHandler invoked with ErrorSource: Receive, ...
fourbeatcoder's user avatar
0 votes
1 answer
112 views

ServiceBusError : Handler failed: 'tuple' object has no attribute 'get_token'

Im getting the below error when i run my code. This code is to requeue the Deadletter messages. Error: Exception has occurred: ServiceBusError Handler failed: 'tuple' object has no attribute '...
Ashwin Roy's user avatar
0 votes
1 answer
16 views

How to make Azure services available in Spring Cloud Dataflow UI as sources and sinks?

My current team develops microservices in an Azure environment that using Service Bus and Event Hubs for processing messages via Spring Cloud Stream. I'm evaluating using Spring Cloud Data Flow to do ...
Alan Krueger's user avatar
  • 4,796
0 votes
0 answers
78 views

ServiceBusAdministrationClient poor performance

When I use the ServiceBusAdministrationClient methods like GetQueueAsync and GetSubscriptionAsync, I am finding that the underlying requests can have very long response times, in a lot of cases longer ...
Alasdair Stark's user avatar
1 vote
1 answer
123 views

Peek messages does not work on Azure Service Bus Topic

I am trying to peek messages from Service Bus Topic on Azure Service Bus portal without luck, getting the following error Works for subscription (when you select one) but not for topic
user3543878's user avatar
0 votes
1 answer
84 views

Setting messageId in Azure Function Service Bus output bindings

Using Azure Functions v3 and the Node.js API, is there a way to set the messageId property value for Service Bus output bindings? At present I am binding messages using the following approach (pulled ...
Nathan Wiles's user avatar
1 vote
2 answers
93 views

Assign a priority on subscribers of a Queue using Azure Service Bus

I know it is possible to assign a priority to messages but this is not what I am looking for, I need to assign a priority to subscribers. For example, 2 services (A and B) are subscribed on the same ...
Bruno's user avatar
  • 4,516
1 vote
1 answer
81 views

I want to consume two bus service topics

I have two topics in the Bus service with 2 subscriptions each and from the same project I want to consume all four. I tried to consume the topics separately and it works well, I consume both ...
cristian2342341's user avatar
0 votes
1 answer
89 views

Process dead letter message in Azure Service Bus Mass Transit

I want to reprocess dead-lettered message through Azure Service Bus Mass Transit here is my code on the service collection: services.AddMassTransit(massTransitConfigurator => { ...
Samuel Marvin Aguilos's user avatar
1 vote
1 answer
90 views

Azure function Stops after 10 min

I have azure function running on a app service plan. The host file is this: { "version": "2.0", "functionTimeout": "02:00:00", "logging": { &...
Connor Stoop's user avatar
  • 1,594
0 votes
1 answer
62 views

Azure Function with Service Bus Trigger Timeout Warnings

We are working on an interface project using a combination of Azure Functions with Azure Service Busses (using Topics with sessions enabled). Everything works fine, but when I logon to the Function ...
iquellis's user avatar
  • 991
0 votes
0 answers
43 views

Dynamically subscribe to Servicebus topics in a not-shared, non-durable way in .Net 7

I need some help figuring out how to connect a web app pool of varying size, to a servicebus topic in a dynamic way. I am using .Net 7. The application needs the messages to be received by all ...
Canis's user avatar
  • 4,170
1 vote
0 answers
144 views

.Net: Calling SignalR Hub from Outside Controller or Hub

I have been able to add a SignalR Hub to my .Net application with the following code: using System.Threading.Tasks; using Microsoft.AspNetCore.SignalR; namespace SignalR.Hubs { public class ...
AppSupportGuru1995's user avatar
0 votes
1 answer
68 views

Set label for Service Bus output messages using isolated Azure Functions

I am developing isolated-process azure function in .NET 7. Thats my function: [Function(nameof(ClassName))] [ServiceBusOutput("queue1", Connection = "...
michasaucer's user avatar
  • 4,667
0 votes
1 answer
81 views

In Azure Service Bus, how to read the latest messages in the Dead Letter Queue?

There are about 9000 messages in a dead letter queue in a service bus. My requirement is I should be reading only the lastest messages inserted in the queue in peek mode. But, in the azure ...
potterson11's user avatar
0 votes
2 answers
130 views

Terraform stuck at still creating step and timeouts while creating Azure Service Bus Queue

Error Message Terraform apply is successful creating the Azure Service Bus Queue but, not updating it in the terraform state. It gets stuck at in still creating step and timeout after 30 minutes as ...
Saurav Garg's user avatar
0 votes
0 answers
66 views

TypeError: Received message 257:None is not bytes in azure-servicebus python sdk

after consuming some messages from azure servicebus queue, python sdk for azure-servicebus is failing with below error socket.send() raised exception. Unexpected error occurred (TypeError('Received ...
Ramachandraiah Putta's user avatar
0 votes
1 answer
91 views

powershell - Generate SAS token for azure service bus queue/topic using New-AzServiceBusAuthorizationRuleSASToken

I have the below code to get the authorization ids of the Service bus and Queue separately $auth_Ids = (Get-AzServiceBusAuthorizationRule -ResourceGroupName $ResourceGroupName -NamespaceName $...
nobody's user avatar
  • 11k

1
2 3 4 5
73