In this article:

  1. Create Azure Service Bus Topic-Subscription
  2. Delete Azure Service Bus Topic-Subscription
  3. View and edit properties of the Azure Service Bus Topic-Subscription
  4. Retrieve a message from Azure Service Bus Topic-Subscription
  5. View and resubmit dead letter messages from Azure Service Bus Topic-Subscription
  6. Import Azure Service Bus Topic from one namespace to another

ServiceBus360 lets you manage Azure Service Bus Topics. You can create, import, edit and delete a Topic, retrieve and view messages and resubmit dead-letter messages to another queue or topic.

Create Azure Service Bus Topic-Subscription

One of the advantages of using ServiceBus360 to create Azure Service Bus Topics is the ability to set a variety of properties while creating a Topic. The number of properties that are available to be set while creating a Topic in Azure Portal is limited.

To Create a Topic:

  1. Login to ServiceBus360.
  2. From the Dashboard, click Manage Namespace button of the namespace you want to create the Topic. The namespace should be of type ‘Messaging’.
  3. Click Topics in the menu on the left side to navigate to Topics page.
  4. The Topics page lists all the available topics in the namespace. Click Create button on the top right corner. Create Topic blade open us.
  5. Enter Topic Path.
  6. ServiceBus360 allows the user to set certain properties of the Topic while creating it. Set the properties for the Topic and click on the Next button. Alternatively, you can also click on the Save button if you just want to create the Topic and leave the properties at their default values.
  7. Additional properties of the Topic that can be set are displayed here. Enter a description appropriate for the Topic.
  8. Click Save button to create the topic.

To create a Subscription:

  1. Click Operations icon on the right side for the Topic you want to create the subscription.
  2. Click Create button on the top right corner.
  3. Enter a Subscription name. Set the required properties and click Next.
  4. Set values for “Default Message Time To Live”, “Lock Duration” and “Max Delivery Count” properties.
  5. Click Save button to create the Subscription.

Delete Azure Service Bus Topic-Subscription

To delete a Topic:

  1. From the Topics page, click the Ellipsis on the right of a topic you want to delete. A new menu drops down.
  2. Select Delete. Enter a reason for the action and click Continue button.
  3. To perform a bulk-delete, select the Topics to be deleted by clicking the checkboxes on the left side.
  4. Click the Delete button on the top right.
  5. Enter a reason for the action and click Continue.

To delete a Subscription:

  1. From the Topics page, click the Operations icon of the topic in which you want to delete the subscription.
  2. To delete a single subscription, click the Ellipsis on the right side of the subscription and select Delete.
  3. Enter a reason for the action and click Continue.
  4. To perform a bulk-delete, select the Subscriptions to be deleted by clicking the checkboxes on the left side.
  5. Click the Delete button on the top right.
  6. Enter a reason for the action and click Continue.

View and edit properties of the Azure Service Bus Topic-Subscription

ServiceBus360 allows users to view or edit the properties of a Topic.

To view or edit the properties of a Topic:

  1. From the Topics page, click the Ellipsis on the right of a topic. A new menu drops down.
  2. Click Properties from the menu to open a new blade which displays all the properties of the topic.
  3. Click the Edit button on the top right of the blade to edit the properties.
  4. Click Save button to save the changes.

To view and edit the properties of a Subscription:

  1. From the Topics page, click the Operations icon of the topic in which you want to edit the subscription.
  2. Click the Ellipsis on the right of the subscription you want to edit. A new menu drops down.
  3. Click Properties from the menu to open a new blade which displays all the properties of the Subscription.
  4. Click the Edit button on the top right of the blade to edit the properties.
  5. Click Save button to update the changes.

Retrieve a message from Azure Service Bus Topic-Subscription

Since Azure Service Bus Topics are based on the publish/subscribe pattern, messages are sent to Topics, but applications receive the messages from subscriptions.

  1. From the Topics page, click the Operations icon on the right of the topic to view the subscriptions within the topic.
  2. Click the Operations icon for the subscription from which you want to retrieve the messages.
  3. In the ‘Message Count’ field, enter the number of messages to be retrieved. The ‘From Sequence Number’ field is optional and can be used to retrieve messages from a specific sequence in the queue.
  4. Click the Get button. All the messages will be retrieved in Peek-Lock mode only.
  5. To retrieve messages from dead-letter queue. Click the Dead-Letter tab.
  6. In the Message Count field, enter the number of messages to be retrieved.
  7. Click the Get button. All the messages will be retrieved in Peek-Lock mode only.

View and resubmit dead letter messages from Azure Service Bus Topic-Subscription

  1. Click the Operations icon of the subscription in which you want to view and resubmit dead-letter messages.
  2. Click the Dead-Letter tab.
  3. Enter the number of messages you want to retrieve in the Message Count field. The ‘From Sequence Number’ field is optional and can be used to retrieve messages from a specific sequence in the queue.
  4. Select between the two options - either retrieve messages in peek lock mode or defer mode
  5. When peek lock mode is chosen to retrieve the message: 
    1. Enter the number of messages to be retrieved (maximum allowed limit is 100) and the Sequence number. If no Sequence Number is mentioned, ServiceBus360 returns the number of messages from the sequence number from the top of the Topic-Subscription.
    2. Click the Get button to retrieve the messages
    3. Click the Properties icon against the message to view the message properties
    4. Click the Details icon against the message to view the message details
  6. When defer mode is chosen to retrieve the message:
    1. Enter the number of messages to be retrieved (maximum allowed limit is 100) When the dead letter messages are retrieved in defer mode, these messages will not be available for receiving by other applications. These messages will be moved to Deferred Deadletter tab and the user can access the messages from the Deferred Deadletter tab.
    2. Click the Get button to retrieve the dead letter messages in defer mode. The user can filter the messages for the parameters like Header Size Exceeded, TTL Expired Exception, Session Id is Null, Max Transfer Hop Count Exceeded and any other error description.
    3. The user can resubmit the retrieved messages by selecting the check box against the messages, and click Resubmit to open the Resubmit messages from Topic blade.
    4. Select the Subscription and click Proceed. The system will prompt a confirmation message "Would you like to Resubmit the message? Target Entity: Topic- XXXXX". 
    5. Click Continue to resubmit the message(s). The system will display the success/failure notification.
    6. To delete the selected messages click the Delete button  

Import Azure Service Bus Topic from one namespace to another

ServiceBus360 allows users to import topics from one namespace to another. This, however, is a premium feature as the user can create only one namespace of type ‘Messaging’ in a free account and a second namespace of the same type ‘Messaging’ is required to import topics from one namespace to another.

  1. From the Dashboard, click Manage Namespace button of a namespace to which you want to import a topic. The namespace should be of type ‘Messaging’.
  2. Click Topics from the menu on the left.
  3. Click the Import button on the top right corner.
  4. Click the ‘Import from other namespace’ radio button.
  5. Click the drop-down to select the namespace from which to import the topics. All the topics in the namespace are listed below.
  6. Use the checkbox to select the topics and click the Proceed button.