Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8976083
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T19:02:26+00:00 2026-06-15T19:02:26+00:00

Background There’s a RESTful API offering some operations. This RESTful API is consumed by

  • 0

Background

There’s a RESTful API offering some operations. This RESTful API is consumed by third-parties that must be authenticated and authorized into the platform in order to get access to API’s operations.

Third-parties require reliable data consumption, and the API must provide a publisher/consumer pattern-based solution to consume some data.

Since the so-called API won’t reinvent the wheel, it’s about to use Windows Azure Service Bus.

Problem

The RESTful API should abstract the actual service bus service. In the other hand, Service Bus is the solution to provide reliable messaging in the own platform.

Actually, Service Bus isn’t an standalone service, but it’s part of some workflows. Third-parties aren’t supposed to have Windows Azure credentials.

Third-parties should connect to Windows Azure Service Bus using API-specific credentials that would give access to the Service Bus’ topics (i.e. message queues).

Possible solutions

a. Authorize direct access to Windows Azure Service Bus

It seems the easiest solution. Let’s see the flow:

  1. A third-party sends a request to the RESTful API in order to get Windows Azure Service Bus connection string – credentials –.
  2. Once it has the connection string, the third-party connects to Windows Service Bus and starts receving message from some topic subscription. NOTE: The connection string is encrypted in the server-side and it can only be decrypted by an accepted client.

Pros

  • Easy. The API authorizes the third-party to use Windows Azure Service Bus and it has no other responsibility.
  • Own API doesn’t manage the high load of topic subscribers: this is handled by Windows Azure platform.

Cons

  • Third-parties are very tied to Windows Azure.
  • Third-parties can easly by-pass the RESTful API for some time.

b. Proxy access to Windows Azure Service Bus

Is this ever possible? The whole flow would be:

  1. A third-party asks a TCP API similar to RESTful one in order to get subscribed to some Windows Azure Service Bus topic.
  2. The TCP API makes the connection and it creates a proxy in order to mirror TCP API connection to Service Bus I/O to the TCP API-to-third-party.
  3. Now third-party is connected to the proxy and sends and receives messages.

Pros

  • Third-parties are connected through a proxy, meaning that they don’t own any Windows Azure credential and they can’t potentially by-pass the TCP or RESTful API.
  • Messaging isn’t absolutely tied to Windows Azure anymore.

Cons

  • What happens if Windows Azure Service Bus closes the connection?
  • What happens if the platform proxy goes down?

c. Windows Azure Service Bus server wrapper

This is the definition and flow:

  1. The RESTful API server has pool of Windows Azure Service Bus subscription connections.
  2. Third-parties are subscribed to a TCP socket or WebSocket of the API server.
  3. Whenever Windows Azure Service Bus has a message, it’s routed to the third-party connection pool and the third-party receives the message.
  4. Third-parties send messages using a RESTful API.

Pros

  • Third-parties are completely agnostic of the service bus technology.

Cons

  • Same as b. approach.

Questions

  • Is b. approach possible?

  • What’s your advise about c. Windows Azure Service Bus server wrapper. Do you find an avoidable war the less reliability in terms of uptime and Windows Azure Service Bus to API and API to third-party synchronization?

  • Am I wrong and there’s some alternative to these approaches?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T19:02:27+00:00Added an answer on June 15, 2026 at 7:02 pm

    Finally, I opted-in with option a.: Authorize direct access to Windows Azure Service Bus.

    This is using the Windows Azure Access Control Service.

    Using this approach, third-parties receive an Azure Service Bus connection string with an issuer (an identity) that has specific permissions on some topics. For example: “consumer can only listen”.

    For more details about this:

    • http://www.windowsazure.com/en-us/develop/net/how-to-guides/access-control/
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Background: There are numerous PHP addons out there that have some nice ideas, but
Background There's a message queue domain. This domain may work with some message queue
Is there any way to do UITableView background like on this image programmatically? I
Background There are a lot of App Store released iPhone apps that require an
Background: There are a couple of concerns that are not core business for us.
I have an app that will run in the background but there is one
Background: There is this developer principle Should my function return null or throw an
Background: There is a table, events; this table is formatted latin1. Individual columns in
There is a background in my app, and it should be changed after some
Background There is a square map with some obstacles on it. Obstacles are represented

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.