Contact Us 1-800-664-9073

On Saturday April 1, 2023, from 9 AM to 2 PM (PDT), content will be unavailable due to scheduled maintenance.

Anypoint MQ Overview

Anypoint MQ is a multi-tenant, cloud messaging service that enables customers to perform advanced asynchronous messaging scenarios between their applications. Anypoint MQ is fully integrated with Anypoint Platform, offering role-based access control, client management, and connectors.

Anypoint MQ does not support use with CloudHub Insight or Anypoint Monitoring. Instead, you can use the Anypoint MQ usage graphs to access usage information. You can view the current and past usage, including consumed data, API requests, and the total number of messages received. You can also use the Anypoint MQ Stats API to perform statistical analysis of queue performance.

Anypoint MQ Workflow

These are the high-level steps to use Anypoint MQ. This workflow is described in the Anypoint MQ Tutorial.

Install and configure Anypoint MQ:

  1. Log in to Anypoint Platform using your Enterprise Mule credentials, and click MQ.

  2. Click Access Management, then Users or Roles to create an Anypoint MQ user or role.

  3. From MQ, create a queue, message exchange, or a FIFO queue.

  4. Click a queue or message exchange name in the detail to access the Message Sender to send messages to a queue or message exchange, and to use the Message Browser to get messages from a queue.

  5. From MQ, click Client Apps to register an app. You can view the client app ID and client secret for the app.

In Anypoint Studio:

  1. Install the Anypoint MQ connector using Anypoint Exchange.

  2. Create a new Mule project with needed building blocks, such as an HTTP connector, Anypoint MQ connector, Set Payload, and a Logger.

  3. Configure the Anypoint MQ connector and provide the client app ID and client secret of the app.

  4. Set the Anypoint MQ connector operation to publish or consume messages, or to accept (ACK) or not accept (NACK) a message. See Anypoint MQ Connector 3.x for Mule 4.

  5. Run the Mule app.

Test the queue:

  1. Use a REST client such as curl or Postman to send or receive a message.

    The Anypoint MQ app sends the string as a message to the queue or message exchange you specified.

  2. View your message in a browser or the Studio console.

View on GitHub