Sending messages to a Queue or Topic is similar as sending events to an Event Hub. ServiceBus360 has the capability to send events/messages immediately from the list of Queues/Topics by creating an Activity Configuration. Activity Configuration has been introduced considering the re-usability.

What is an Activity?

Activities allow you to push sample messages into desired Queues or Topics. It can be used mainly for testing purposes. Ex: Sending 5000 sample messages into a Queue with think time, batches, multiple threads etc. You can have multiple activities configured and executed them either instantaneously or via a schedule.

Sending Messages to Queues/Topics

ServiceBus360 has the option to send messages from the listed Queues/Topics by simply entering the desired values and hit the Send button. As every task is processed in the cloud – it will queue the task to a certain queue from where it will be picked up and processed. However, the processing is fast enough and you will be able to see the in-progress activity in “In Progress” tab. Sometimes you may not find an activity in “In Progress” tab if the number of events is too small. As the process is quick – the process might be completed momentarily.

To send messages instantly:

  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 Messaging entities dashboard.
  3. Click the Extras button (Ellipsis). From the drop down select the Send Messages option
  4. In the Send Message blade, enter the message, message count, and other custom properties. Click the Save Configuration check box, enter a friendly name to save the configurations for future use.
  5. Click the Send button to send the Message

Creating Send Message Activity Configuration

ServiceBus360 users also have the option to schedule activities to run at a specified time by creating an Activity Configuration. To create an Activity Configuration:

  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 messaging entities dashboard.
  3. Click the Activites icon in the left navigation pane
  4. In the Activities screen, click the Create button and select the Send Message Activity option from the drop-down
  5. The user has the option to configure an Activity at three levels. Enter the basic details like Activity Name,  Message, and Custom Properties. Click Next.
  6. Select the options between Queues or Topics and enter other details like the Send Batch, Think Time, Task Count and Message Count. Additionally, you can configure the System Properties
  7. To initiate the process immediately click the checkbox – “Initiate Activity Immediately after you save”, which allows starting the activity as soon the activity configuration is saved.
  8. In the Schedule activity blade, you can configure the activity for a select date and time, either recurring or a one-time activity.
  9. Click Save to create an activity configuration. The play button helps you initiating an activity of the Activity Configuration.You can view the in-progress activity details by clicking the “info” icon under the In Progress tab. Also, you can delete an ongoing activity from the In Progress tab.

Creating Dead-Letter Activity Configuration

  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 messaging entities dashboard.
  3. Click the Activites icon in the left navigation pane
  4. In the Activities screen, click the Create button and select the Dead-Letter Activity option from the drop-down
  5. The user has the option to perform operations like:
    1. Resubmit: Keep the source message. Submit a copy of message to the destination queue
    2. Resubmit & Delete: Submit a copy of message to the destination queue and delete the source message
    3. Delete: Simply delete the message from the DLQ
  6. Select the From Dead-Letter Queue, To Queue and the Dead Letter Reason from the drop-down
  7. You can choose the messages based on the Enqueued time (this is an optional parameter) and set the Message Count 
  8. To initiate the process immediately click the checkbox – “Initiate Activity Immediately after you save”, which allows starting the activity as soon the activity configuration is saved.
  9. Click Save to create an activity configuration. The play button helps you initiating an activity of the Activity Configuration.You can view the in-progress activity details by clicking the “info” icon under the In Progress tab. Also, you can delete an ongoing activity from the In Progress tab.