Home > Enterprise >  Azure Service Bus http vs websocket
Azure Service Bus http vs websocket

Time:11-07

I am making use Azure Service Bus for microservice to microservice communication . I understand that the topic sends the messages to all of the clients whenever it receives a message .

Does the azure service bus uses websockets instead of HTTP?

Also does it have any retry mechanism if one client goes down temporarily?

CodePudding user response:

Communication:

Azure Service Bus implements AMQP or NetMessaging as the messaging protocol.

Both messaging protocols can use TCP, HTTP or HTTPS as the underlying communication protocol.

TransportType enum sets the messaging protocol.

ConnectivityMode enum sets the underlying communication protocol.

Retry mechanisms:

Retry mechanisms can be set using the RetryPolicy class.

The class contains ExponencialBackOff, NoRetry and Default as built-in implementations.

More information:

Retry guidance for Azure services - Service Bus

TransportType Enum

ConnectivityMode Enum

  • Related