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

Difference between BrokeredMessage class in Microsoft.ServiceBus and Message class in Microsoft.Azure.ServiceBus

I've got started with Azure Service Bus in Azure. Having gone through some references over the Internet, it seems that people use BrokeredMessage class in Microsoft.ServiceBus.Messaging rather than Message class in…
EagleDev
  • 1,754
  • 2
  • 11
  • 31
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…
23
votes
7 answers

Resubmitting a message from dead letter queue - Azure Service Bus

I have created a service bus queue in Azure and it works well. And if the message is not getting delivered within default try (10 times), it is correctly moving the message to the dead letter queue. Now, I would like to resubmit this message from…
Libin Joseph
  • 7,070
  • 5
  • 29
  • 52
23
votes
1 answer

understanding check pointing in eventhub

I want to ensure that, if my eventhub client crashes (currently a console application), it only picks up events it has not yet taken from the eventhub. One way to achieve this, is to exploit offsets. However, this (to my understanding) requires the…
cs0815
  • 16,751
  • 45
  • 136
  • 299
21
votes
3 answers

How does Azure Service Bus identify a duplicate message?

I understand that Azure Service Bus has a duplicate message detection feature which will remove messages it believes are duplicates of other messages. I'd like to use this feature to help protect against some duplicate delivery. What I'm curious…
Paul Turner
  • 38,949
  • 15
  • 102
  • 166
19
votes
1 answer

azure service bus queue with multiple listeners / competing consumers with queue

Theoretically it looks like azure service bus queues is one to one with respect to message and receiver. Just wanted to know if it's possible to have more than one listeners to a queue. If it is 1:1, does it mean to realize competing consumers…
finch
  • 395
  • 1
  • 3
  • 7
19
votes
1 answer

Using QueueClient.OnMessage in an azure worker role

I have an Azure worker role that is responsible for checking 4 service bus queues. Currently, I just the looping method to manually check the queues. while(true) { //loop through my queues to check for messages } With the Azure SDK 2.0 came the…
18
votes
1 answer

Im not able to mock ServiceBusReceivedMessage and ServiceBusMessageActions

we want to write unit-test for servicebus message trigger. we are using Azure.Messaging.ServiceBus nuget package [FunctionName("serviebustrigger")] public async Task Run ([ServiceBusTrigger("xxxxtopic", "xxxxsubscription", Connection =…
18
votes
2 answers

Azure service bus cannot create topic from Azure portal

When I create Service Bus it doesn't allow me to Add new Topic
StNickolas
  • 576
  • 7
  • 20
18
votes
3 answers

Cannot connect to Azure ServiceBus with Microsoft.Azure.ServiceBus

I have created a very simple console application that connects to Azure ServiceBus and sends one message. I tried the latest library from Microsoft (Microsoft.Azure.ServiceBus) but no matter what I do I just get this error: No connection could be…
Ilya Chernomordik
  • 27,817
  • 27
  • 121
  • 207
18
votes
1 answer

Why use a QueueClient vs MessageFactory?

In Azure Service Bus, you can send a brokered message using QueueClient and MessageFactory. I would like to know why would you want to use one over the other.
Mitul
  • 9,734
  • 4
  • 43
  • 60
18
votes
1 answer

Send message directly to Subscription

Is it possible to send a message directly to a Subscription queue? Scenario: A message failed, dropped onto the deadletter, the message has been picked up manually using defer, cloned and needs to be sent to the queue it was first deadlettered on,…
Jamez
  • 1,559
  • 1
  • 15
  • 26
17
votes
1 answer

Azure ServiceBus AutoRenewTimeout

I am using Azure ServiceBus Queues through the .net SDK. There is a flag on the OnMessageHandler/OnMessageOptions called "AutoRenewTimeout", but there seems to be confusion on what this value actually means. On the official documentation here…
MindingData
  • 11,924
  • 6
  • 49
  • 68
17
votes
3 answers

How do I report a bug in Windows Server Service Bus?

I tried to google. Microsoft Connect doesn't accept bugs for Service Bus. Azure Portal sends to either MS forums or to StackOverflow - so here I am. The question is really in the title: how do I report a bug with Service Bus? (not the Azure version,…
Fyodor Soikin
  • 78,590
  • 9
  • 125
  • 172
17
votes
1 answer

Azure Service Bus Serialization Type

We've started investigating the use of the Windows Azure Service Bus as a replacement for our current queues as we move towards a service orientated architecture. Most of the documentation is clear; however I having a hard time ascertaining which…
Luke Merrett
  • 5,724
  • 8
  • 38
  • 70