Contact Free trial Login

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.

Note: Anypoint MQ does not support use with CloudHub Insight or Anypoint Monitoring. Instead you can use the MQ usage graphs to view consumed data and API requests and how many message units were received, or you can use the MQ Stats API to perform statistical analysis of queue performance.

Anypoint MQ Documentation

Guide Description

Anypoint MQ Terminology

Explains Anypoint MQ terminology.

FAQ: Anypoint MQ

Frequently asked questions with answers.

Anypoint MQ Connectors

Links to Anypoint MQ connectors and Anypoint Exchange.

Tutorial: Create a Queue and Message Exchange

Walks through creating a queue, a client app, sets up Anypoint Studio, and sends and receives messages. The tutorial also adds a message exchange and shows its differences from a queue.

Set Environment, User, and Role Access

Assigns Anypoint MQ environment, user, and role access.

Configure a Queue

Uses Anypoint Platform to create queues, send messages to a queue, and get messages from a queue. This topic also describes Dead Letter Queues and FIFO Queues.

Configure a Message Exchange

Describes how to send messages to a message exchange and view the message in queues. Also describes how to bind queues to a message exchange and how to unbind queues from a message exchange.

Configure a Client Application

Explains how to register an application in Anypoint MQ, and how to view and copy the application’s client ID and client secret.

Anypoint MQ REST APIs

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

View Usage Graphs

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

Acknowledge a Message

Explains global and local ack and nack states.

Release Notes

Summarizes release information for the Anypoint MQ Cloud and Anypoint MQ Connector products.

Anypoint MQ Workflow

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

Install and configure Anypoint MQ:

  1. Log into 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 application. You can view the client ID and client secret for the application.

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 ID and Secret of the application.

  4. Set the Anypoint 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 Acknowledgment 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.


  1. Use a REST client such as curl or 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.

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

Was this article helpful?

💙 Thanks for your feedback!

Edit on GitHub