Anypoint MQ

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 application management, and connectors.

Anypoint MQ Documentation

Guide Description

Explains MQ terminology.

Walks through creating a queue, a client app, sets up Studio, and uses Postman to send and receive messages. The tutorial then adds a message exchange and shows its differences with a queue.

Assigning MQ environment, user, and role access.

Using Anypoint Platform to create queues and message exchanges, send messages to a queue or message exchange, and get messages from a queue. This topic also describes Dead Letter Queues and FIFO Queues.

Describes how to view MQ usage information from the Anypoint Platform’s Access Management section.

Explains global and local ack and nack states.

Using Anypoint Studio to install and configure the Anypoint MQ connector, and create and run an application.

Access Anypoint MQ functionality using REST. Contains section on how to create a FIFO queue using a REST API.


Frequently asked questions with answers.

Latest information on each release version of the Anypoint MQ Cloud and Anypoint MQ Connector.

Anypoint MQ Workflow

The steps that follow help you use Anypoint MQ. This same workflow is described in the Anypoint MQ Tutorial.

To install and configure Anypoint MQ:

  1. Log into Anypoint Platform using your [Enterprise Mule credentials].

  2. Click MQ from Anypoint Platform.

  3. Click Access Management > Users or Roles to create an MQ user or role.

  4. Create a queue or message exchange.

  5. Click a queue or message exchange for more detail, click the 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.

  6. Use Anypoint Platform to register an application to view a client ID and client secret.

  7. In Anypoint Studio:

    1. Install the 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 ID and Secret of the application you specified in Anypoint Platform > MQ.

    4. Set the MQ connector’s Operation to publish or consume messages, or to manually ack (accept a message) or nack (don’t accept a message). Alternatively to ack or nack, Anypoint MQ can provide automatic Acknowledgement Mode. If you set the Operation to publish, set the Destination to the name of a queue or message exchange that you created in Anypoint Platform. If you sent the Operation to consume, specify the name of a queue from which you want to receive messages.

    5. Run the Mule application.

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

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

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