edit-icon download-icon

Transcoding message notifications

Last Updated: Apr 19, 2018

MPS fully supports message queue and message notification functions of MNS. The following takes the message notification service as an example. The operation of usig the message queue to receive messages is performed in a similar way. Enable the transcoding message notification function prior to use.

Procedure

  1. Create Notification Topics.

    Create the topic in the same region on the MNS console and complete subscription.

    1. Create a topic.

      1. Click Toppics.

      2. Select the region.

      3. Click Create Topic.

        2

      4. Enter the Topic Name on the Create Topic page.

        2

    2. Create a subscription.

      1. Click Subscribe.

        2

      2. Enter the Subscription Name and the Endpoint.

        2

  2. Set the binding relationship between the MPS queue and notification.

    1. Log on to the Media Processing cosole.

    2. Click Settings.

    3. Select the region.

    4. Click MPS Queues.

    5. Click Message Notification.

      2

    6. Select the Message Type and Message Name.

      2

      The relationship between the MPS queue and notification is binded successfully.

  3. Establish the message notification receiving service.

    For details, see Message notification function description.

  4. Operate messages in the consumer’s queue.

    After MPS completion messages are received using an MNS queue, the message consumer must actively receive and delete messages.

    • For details about how to receive messages, see Receive a queue message and Receive queue messages in batches.

    • For details about how to delete messages, see Delete a queue message and Delete queue messages in batches.

Thank you! We've received your feedback.