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
1
vote
2 answers

How to check AzureServiceBus availability

I currently check the availability of Azure ServiceBus with following code: using Microsoft.ServiceBus.Messaging; public static bool IsOnline(string queueName = null) { try { QueueClient queueClient =…
Jeson Martajaya
  • 6,996
  • 7
  • 54
  • 56
1
vote
1 answer

Azure Service Bus Topics - Secure message from other subscribers

I have a service bus topic with 50 subscribers with their own filters. How I can secure a message from rest of 49 subscriber if some one guess the subscriber name? Is there anyway I can validate subscriber credentials? Right now my plan B is create…
Sap_vr
  • 2,379
  • 2
  • 17
  • 17
1
vote
1 answer

Azure Service Bus as Web Job throw error The lock supplied is invalid

Currently I'm tring to implement my service queue bus on web job. The process that i'm perform with each message is taking about 5 - 30 seconds. While I'm not getting many messages in same time it's running ok, without any exceptions. Otherwise I'm…
dawcza94
  • 327
  • 2
  • 10
1
vote
0 answers

What is the most efficient way to poll Azure's service bus as part of a healthcheck?

We have a requirement to provide an API endpoint which reports the health of various external dependencies. One of these is an Azure Service Bus. By health we simply need to know if the service is available and responding to connections. Our…
Tom Troughton
  • 3,941
  • 2
  • 37
  • 77
1
vote
1 answer

How to abandon or deadletter messages on ServiceBus BrokeredMessage level on AzureFunction V2?

I am encountering one major road block issue when trying to use ServiceBusTrigger in azureFunction. I am trying to abandon, or deadletter, a service bus message in V2 ServiceBusTrigger, How can I do so? I've tried the following solution, but I…
1
vote
3 answers

Azure Service Bus: No messages on queue, only requests

I'm trying to route messages from an IoT hub to a function app using a service bus queue as an Iot hub endpoint. The messages I send to the IoT hub are registered in the IoT hub, but won't be routed to the service bus queue. When I monitor the…
Durrahan
  • 25
  • 4
1
vote
1 answer

pass values into ARM template parameters using powershell

i have a powershell script which deploys the below things ServiceBusNamespace ServiceBusQueueName storageAccount etc.. Now i aslo have a templatefile and templateparameter file which expects this values to be entered manually. i want to automate…
1
vote
1 answer

Azure Service Bus - AutoRenewTimeout on messages for python client

I was going through the documentation of service AutoRenewTimeout feature and came across this post on Lock Renewal Policy on service-bus messages. It talks about AutoRenewTimeout feature, where a message gets locked for a period of time so that…
1
vote
0 answers

How to use Service Bus for Windows Server 1.1 with Microsoft.Azure.ServiceBus

I'm trying to use Service Bus for Windows Server 1.1 with Microsoft.Azure.ServiceBus package in my NetCore app on Linux machine. First I have configured an working Service Bus for Windows Server 1.1, it's working well. Then on client side I…
ashchuk
  • 331
  • 5
  • 19
1
vote
0 answers

Azure Event Hub: every other connection attempt fails

We have Azure 4 subscriptions containing one Event Hub instance each. One of the instances is not responsive, from our application logs: Jan 05 10:53:10 ERROR CheckFacade - Azure event hub connection failed. EndPoint:…
1
vote
1 answer

Is there any way to create a azure service bus namespace from within .Net?

We are using .Net framework 4.6.x and looking for a way to create an azure service bus namespace from the azure.management sdk. We are having trouble implementing programmatically within .Net with C#, Any reference or direct documentation would be…
Aarban1424
  • 11
  • 2
1
vote
2 answers

Azure Service Bus queue message lock expires at midnight UTC

We're seeing some odd behaviour while processing a long-running message on an Azure Service Bus queue. We are renewing the lock as we run over a fairly large dataset and this particular message generally takes around 1 hour to complete. The process…
codefrenzy
  • 246
  • 1
  • 6
1
vote
2 answers

Trouble catching exception on Azure Service Bus SendAsync method

I'm trying to use the following code to setup a failure condition, namely were there is no network path available, so the code shouldn't be able to send to the Service bus at all. I know this because I disable my network ports when I test. I am…
Paul Duer
  • 1,100
  • 1
  • 13
  • 32
1
vote
0 answers

Azure ServiceBus TimeoutException after SDK upgrade

We have recently upgraded to the latest version of the ServiceBus SDK and we started to get TimeoutExceptions during SendAsync queue operations. This only happens from the servers that only have Send to the queue (no receive), the servers that…
albattran
  • 1,887
  • 1
  • 12
  • 16
1
vote
1 answer

Azure Service Bus Topics and Multiple Instance Subcriber

This is a general question about Microsoft.Azure.ServiceBus. In Azure, when an application is scaled up, how does Azure handle dispatching messages to a subscriber if that subscriber has been scaled up multiple times. Figure 1 shows a typical…
Andy
  • 12,859
  • 5
  • 41
  • 56