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.

Microsoft Azure Service Bus provides a hosted, secure, and widely available infrastructure for widespread communication, large-scale event distribution, naming, and service publishing. Service Bus provides connectivity options for Windows Communication Foundation (WCF) and other service endpoints – including REST endpoints -- that would otherwise be difficult or impossible to reach. Endpoints can be located behind network address translation (NAT) boundaries, or bound to frequently-changing, dynamically-assigned IP addresses, or both.

Service Bus provides both “relayed” and “brokered” messaging capabilities. In the relayed messaging pattern, the relay service supports direct one-way messaging, request/response messaging, and peer-to-peer messaging. Brokered messaging provides durable, asynchronous messaging components such as Queues, Topics, and Subscriptions, with features that support publish-subscribe and temporal decoupling: senders and receivers do not have to be online at the same time; the messaging infrastructure reliably stores messages until the receiving party is ready to receive them.

Runs anywhere, connects nearly anything

Azure Service Bus is a generic, cloud-based messaging system for connecting just about anything—applications, services, and devices—wherever they are. Connect apps running on Azure, on-premises—or both. You can even use Service Bus to connect household appliances, sensors, and other devices like tablets or phones to a central application or to each other.

Build robust cloud solutions that scale to meet demand

Asynchronous messaging patterns are the architectural cornerstone of reliable and scalable applications. Integrating cloud resources like SQL Azure, Azure Storage, and Azure Websites with Service Bus messaging ensures smooth operation under heavy and variable load with the durability to survive intermittent failures.

Manage message delivery in the cloud

Queues offer simple first in, first out guaranteed message delivery and supports a range of standard protocols (REST, AMQP, WS*) and APIs. Topics deliver messages to multiple subscriptions and fan out message delivery at scale to downstream systems.

Connect on-premises applications to the cloud

Service Bus Relay solves the challenges of communicating between on-premises applications and the outside world by allowing on-premises web services to project public endpoints. Systems can then access these web services, which continue to run on-premises from anywhere on the planet.

3572 questions
11
votes
2 answers

Get the Service Bus SharedAccessKey Programatically Using Bicep

I am using bicep to create azure resources. One of these resources is a service bus and this is defined as follows: resource service_bus 'Microsoft.ServiceBus/namespaces@2021-01-01-preview' = { name:…
gatapia
  • 3,574
  • 4
  • 40
  • 48
11
votes
2 answers

How do I add a custom property using the Azure.Messaging.ServiceBus library?

the latest sdk (Azure.Messaging.ServiceBus 7.0.1) doesn't seem to have the option to add custom(user) properties to a message (ie: for filtering topic subs). Has anyone found out how to do this now? SendMessageAsync
sharpc
  • 125
  • 1
  • 8
11
votes
3 answers

The binding type(s) 'serviceBusTrigger' are not registered. Please ensure the type is correct and the binding extension is installed

After Updating VS 2017 version to 15.8.2 and web jobs tools to version 10. I am facing this issue. the same solution is working in other workstations with the same visual studio version It is a sample service bus trigger function and queue name and…
11
votes
3 answers

Split batch of messages to be sent to Azure Service Bus

Let's say I have a collection List of messages that I want to batch-send to Azure Service Bus. The collection size is arbitrary, so the total size of all messages combined might be over the limit of 256k imposed by Service Bus. How…
Mikhail Shilkov
  • 34,128
  • 3
  • 68
  • 107
11
votes
2 answers

Azure Service Bus: What is a request and a message?

Our Application is using Azure service bus for messaging purpose. We created few topics and subscribers. We will send around 500 messages per day, but in the graph it shows hundreds of thousands of requests for 500 messages. Our billing price is…
11
votes
3 answers

Azure Service Bus - topics, messages - using .NET Core

I'm trying to use Azure Service Bus with .NET Core. Obviously at the moment, this kind of sucks. I have tried the following routes: The official SDK: doesn't work with .NET Core AMQP.Net Lite: no (decent) documentation, no management APIs around…
Kieren Johnstone
  • 41,277
  • 16
  • 94
  • 144
11
votes
3 answers

Odd Behavior of Azure Service Bus ReceiveBatch()

Working with a Azure Service Bus Topic currently and running into an issue receiving my messages using ReceiveBatch method. The issue is that the expected results are not actually the results that I am getting. Here is the basic code setup, use…
B-Stewart
  • 677
  • 2
  • 10
  • 27
11
votes
1 answer

Azure Service Bus Alternatives

We continue to see instability in Azure Service Bus and are looking for alternatives. Ideally we would like something we can run locally in a Windows 2012 R2 domain and has many of the same feature sets as Azure SB. We have taken a look at the…
Todd Carter
  • 879
  • 7
  • 20
11
votes
1 answer

Real Time Notification System using SignalR and Azure

I am trying to craft a facebook-like notification system in our ASP.NET MVC website In a scenario, the notification system works like this User1 follow User2 by clicking the follow button in the MVC site the MVC site send a NotificationItem to the…
11
votes
1 answer

What is the max number (if any) of subscriptions a Windows Azure Service Bus Topic can have?

I'm considering an architecture that could have tons of subscribers to a single topic. Like tens or hundereds of thousands of individual subscribers. Each would have a SQL filter, something like: User = 'SomeUserIdentifier' Just wondering if I'm…
Paul Fryer
  • 9,268
  • 14
  • 61
  • 93
11
votes
1 answer

Does Azure ServiceBus QueueClient.OnMessage execute on a different thread

Does the QueueClient.OnMessage method always execute the callback parameter on a different thread? I assume that if MaxConcurrentCalls is set to 10 then the queueClient would spin up a maximum of 10 threads to process the messages in parallel. Does…
Dan Rowlands
  • 1,382
  • 12
  • 18
11
votes
1 answer

Azure Service Bus Client Connection Persistence

I have below a basic wrapper around the Azure Service Bus code that we will be using within a worker role. This ServiceBusClient will be instantiated each time the worker role is run; then used to access the queue until there are no remaining items…
Luke Merrett
  • 5,724
  • 8
  • 38
  • 70
11
votes
2 answers

Azure Service Bus and transactions

I'm new to Azure Service Bus and I'm trying to establish a transactional strategy for queuing messages. Since SQL Azure doesn't support MSDTC and, therefore, with a distributed TransactionScope, I can't make use of it. So, I have a Unit of Work that…
danielp
  • 291
  • 2
  • 12
11
votes
1 answer

Message routing with Windows Azure Service Bus

I'm a few hours into understanding the Azure Service Bus architecture. I'm wondering specifically if this queueing technology can be used to support message routing - something similar to RabbitMQ's routing…
Kenn
  • 2,379
  • 2
  • 29
  • 38
10
votes
2 answers

How to manually handle message completion in C# azure function with azure service bus 5.0.0

I'm writing an Azure Function to get the messages in an Azure Service Bus. I want to handle any exceptions manually ("autoCompleteMessages": false) Can't figure how to send the complete or abandon back to the service queue. Tried Option…
147
  • 582
  • 8
  • 20