Overview

Below, you can see an abstract overview of the way platforms are connected to Azure ServiceBus, enabling them to securely and remotely communicate with each other.

Install Service Bus

  • Open portal.azure.com
  • Login with Administrator Credentials
  • Navigate to your resource group
  • Click Add
  • Search for Service Bus
  • Press Enter
  • Select Service Bus
  • Click Create
    • Enter a Name, e.g. imagoverum.servicebus.windows.net
    • Select a pricing tier (i.e. Standard, Basic is not supported)
    • Recheck Subscription
    • Recheck Resource group
    • Change Location, e.g. West Europe
  • Click Create
  • Wait until the Deployment is finished

Configure Service Bus

Create a Topic

  • Navigate back to your resource group
  • You should see now a new Service Bus
  • Open it
  • Under Entities select Topics
  • Click + Topic
  • Enter a Name, e.g. matrix42.suem.topic
  • Click Create
  • Click matrix42.suem.topic

Add Subscription

Each connected system needs its own subscription as it consumes and removes the messages. Having multiple subscribers on one subscription will result in not received messages.

 
  • Navigate to subscriptions
  • Click +Subscription
  • Enter a Name, e.g. matrix42.uux.subscription
  • Click Create
  • Click on the newly created subscription to filter all messages sent by the subscriber itself
    • Delete the $Default filter
    • Click Add Filter
    • Enter 'Excludeown' in Name
    • Enter in expression: Sender != 'matrix42.uux.subscription'
    • Click Save Changes
  • Click +Subscription
  • Enter a Name, e.g. matrix42.empirum.subscription
  • Click Create
  • Click on the newly created subscription to filter all messages sent by the subscriber itself
    • Delete the $Default filter
    • Click Add Filter
    • Enter 'Excludeown' in Name
    • Enter in expression: Sender != 'matrix42.empirum.subscription'
    • Click Save Changes
  • Click +Subscription
  • Enter a Name, e.g. matrix42.silverback.subscription
  • Click Create
  • Click on the newly created subscription to filter all messages sent by the subscriber itself
    • Delete the $Default filter
    • Click Add Filter
    • Enter 'Excludeown' in Name
    • Enter in expression: Sender != 'matrix42.silverback.subscription'
    • Click Save Changes
  • Click +Subscription
  • Enter a Name, e.g. matrix42.egosecure.subscription
  • Click Create
  • Click on the newly created subscription to filter all messages sent by the subscriber itself
    • Delete the $Default filter
    • Click Add Filter
    • Enter 'Excludeown' in Name
    • Enter in expression: Sender != 'matrix42.egosecure.subscription'
    • Click Save Changes

Create Shared access policies

  • Navigate to Shared access policies
  • Click Add
  • Enter policy name, e.g. matrix42.suem.policy
  • Enable Manage
  • Click Create
  • Open matrix42.suem.policy
  • Create a new Text Document with e.g. Notepad++
  • Copy and Paste the Primary Connection String to your Text Document