In this article:

  1. Create and delete Azure Service Bus Queues using ServiceBus360
  2. View and edit properties of the Azure Service Bus Queue using ServiceBus360
  3. Retrieve a message from Azure Service Bus Queue using ServiceBus360
  4. View and resubmit dead letter messages from Azure Service Bus Queue using ServiceBus360
  5. View deferred dead letter messages from Azure Service Bus Queue using ServiceBus360
  6. Import Azure Service Bus Queues from one namespace to another using ServiceBus360


Create and delete Azure Service Bus Queues using ServiceBus360

Service Bus queues are part of a broader Azure messaging infrastructure that supports queuing as well as publish/subscribe, and more advanced integration patterns that may span multiple communication protocols, data contracts, trust domains, and/or network environments. In Queues, the messages are typically expected to be received and processed by the receivers in the order in which they were added to the queue, and each message is received and processed by only one message consumer. ServiceBus360 allows the users to perform CRUD operations on Queues from within the portal. 

To create an Azure Service Bus Queue in ServiceBus360:

  1. Log into the ServiceBus360 account
  2. In the home dashboard screen, click the Manage Namespace button in the messaging namespace pane to navigate to the Queues dashboard screen.
  3. The Queues dashboard displays the list of Queues available in the namespace. To create a new queue in the namespace, click the Create button to open the Create-Queue blade.
  4. Enter the Queue path (mandatory field), Maximum Queue Size (by default set at 1 GB and can be maximized to 5 GB)and other optional parameters like Enable Batched Operations, Enable Dead Lettering On Message Expiration, Enable Express, Enable Partitioning, Requires Duplicate Detection, and Requires Session.
  5. Click the Save button to complete the process

To delete an Azure Service Bus Queue in ServiceBus360:

  1. Log into the ServiceBus360 account
  2. In the home dashboard screen, click the Manage Namespace button in the messaging namespace pane to navigate to the Queues dashboard screen.
  3. The Queues dashboard displays the list of Queues available in the namespace. To delete an existing queue in the namespace, click the checkbox against the desired Queues.
  4. The option to delete is disabled by default. When one or more checkbox is selected the Delete button will be enabled in the screen. Click the Delete button
  5. ServiceBus360 will prompt a text box to enter the reason to delete the selected Queues. Entering the reason is only optional, Click Continue to delete the Queue from the namespace.  

View and edit properties of the Azure Service Bus Queue using ServiceBus360

When messages accumulate in one of the queues, you can view the queue properties to get more information about the possible causes of this accumulation. When the Queues list is generated in ServiceBus360, the screen contains a Properties icon against each queue that will contain the properties of the queue. All information in the queue properties blade will be populated from the Azure portal and the values can be edited in ServiceBus360. To view/edit the queue properties in ServiceBus360:

  1. Log into your ServiceBus360 account
  2. In the home dashboard screen, click the Manage Namespace button in the messaging namespace pane to navigate to the Queues dashboard screen.
  3. The Queues dashboard displays the list of Queues available in the namespace. Click the Extras icon against the Queue that you wish to view the properties
  4. Click the Properties link in the dropdown
  5. The Queue properties will be displayed in the Properties blade
  6. Click Edit to edit the Basic properties like
    1. Status
    2. Default Message Time To Live
    3. Auto Delete On Idle
    4. Lock Duration
    5. Duplicate Detection History Time Window
  7. Enter the reasons for the modification and click Save to complete the process

Retrieve a message from Azure Service Bus Queue using ServiceBus360

ServiceBus360 allows users to execute queries to retrieve messages from Queues in 'peek lock' mode. When the query is executed from the UI, ServiceBus360 triggers a service call that retrieves the list of messages in peek lock mode. In addition, the service call will retrieve other information related to the message such as sequence number, size, label, enqueued time, expiry time, message details and properties. In ServiceBus360, the users can retrieve both active and dead letter messages. Follow the steps as shown below to retrieve messages from queues in ServiceBus360:

  1. Log into your ServiceBus360 account
  2. In the home dashboard screen, click the Manage Namespace button in the messaging namespace pane to navigate to the Queues dashboard screen.
  3. The Queues dashboard displays the list of Queues available in the namespace. Click the Operations icon against Queue that you wish to retrieve the message. 
  4. Click Messages tab to retrieve active messages from the Queue
  5. 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 Queue.
  6. Click the Get button to retrieve the messages
  7. Click the Properties icon against the message to view the message properties
  8. Click the Details icon against the message to view the message details

View and resubmit dead letter messages from Azure Service Bus Queue using ServiceBus360

ServiceBus360 allows users to execute queries to retrieve deadletter messages from Queues in both 'peek lock' and 'defer' mode. Only the deadletter messages that are not deferred at the time of receiving will be retrieved. These messages will be deferred and then not be available to receive by other applications. Use ServiceBus360 to resubmit or delete them later. In addition, the service call will retrieve other information related to the message such as message id, sequence number, size, label, error reason, enqueued time, expiry time, message details and properties. Follow the steps as shown below to retrieve deadletter messages from queues in ServiceBus360:

  1. Log into your ServiceBus360 account
  2. In the home dashboard screen, click the Manage Namespace button in the messaging namespace pane to navigate to the Queues dashboard screen.
  3. The Queues dashboard displays the list of Queues available in the namespace. Click the Operations icon against Queue that you wish to retrieve the message. 
  4. Click Deadletter messages tab to retrieve messages from the Queue
  5. Select between the two options - either retrieve messages in peek lock mode or defer mode
  6. 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 Queue.
    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
  7. 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 deadletter 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 deadletter 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 checkbox against the messages, and click Resubmit to open the Resubmit messages from Queue blade.
    4. Select the Queues and click Proceed. The system will prompt a confirmation message "Would you like to Resubmit the message? Target Entity: Queue - 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  

View deferred dead letter messages from Azure Service Bus Queue using ServiceBus360

The deadletter messages that are retrieved in defer mode will be moved to the Deferred Deadletter tab. The user can either view the message details, properties, error or resubmit/delete the messages from this Deferred Deadletter section.

  1. Log into your ServiceBus360 account
  2. In the home dashboard screen, click the Manage Namespace button in the messaging namespace pane to navigate to the Queues dashboard screen.
  3. The Queues dashboard displays the list of Queues available in the namespace. Click the Operations icon against Queue that you wish to retrieve the message. 
  4. Click Deferred Deadletter tab to retrieve messages from the Queue
  5. Enter the number of messages to be retrieved (maximum allowed limit is 100)
    When the deadletter 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.
  6. Click the Get button to retrieve the deadletter 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.
  7. The user can resubmit the retrieved messages by selecting the checkbox against the messages, and click Resubmit to open the Resubmit messages from Queue blade.
  8. Select the Queues and click Proceed. The system will prompt a confirmation message "Would you like to Resubmit the message? Target Entity: Queue - XXXXX".
  9. Click Continue to resubmit the message(s). The system will display the success/failure notification.
  10. To delete the selected messages click the Delete button

Import Azure Service Bus Queues from one namespace to another using ServiceBus360

In this section, we will see the different options to import an Azure Service Bus Queues from one namespace to another using ServiceBus360. Let's consider a scenario, ACME corporation has created and configured the settings for a Queue in their test environment and wants to replicate the same in the development environment, in this scenario, the only option is to recreate the Queues with the same settings either in the Azure portal or in Service Bus Explorer. Obviously, this is a time-consuming process, ServiceBus360 provides a simple solution by allowing the users to import the Queues between namespace to make process easy.

  1. Log into your ServiceBus360 account
  2. In the home dashboard screen, click the Manage Namespace button in the messaging namespace pane to navigate to the Queues dashboard screen.
  3. The Queues dashboard displays the list of Queues available in the namespace. Click the Import button to open the Import Entities blade
  4. Select Import from a file to import the Queues that are exported from Service Bus Explorer as XML file
    1. Click the Browse button to open the file location
    2. Select the file and click Proceed
  5.  To import from another namespace, click the checkbox against Import from other namespace option 
    1. Choose the namespace from the dropdown and select the Queues to import
    2. Click the Proceed button to complete the process
  6. The Queues will be imported along with the configurations