Contact Us 1-800-596-4880

Getting Started with Anypoint MQ

Follow these high-level steps to configure and use Anypoint MQ:

  1. Contact your Account Team to obtain an Enterprise subscription and activate Anypoint MQ.

  2. Set up your environment and access permissions.

  3. Configure a connected app to get an ID and secret to configure Anypoint Connector for MQ (Anypoint MQ Connector).

  4. Configure a queue, message exchange, or a FIFO queue.

  5. Send messages to a queue or message exchange.

  6. Get messages from a queue.

  7. In Anypoint Studio, configure Anypoint MQ Connector in your Mule app:

    1. Install Anypoint MQ Connector using Anypoint Exchange.

    2. Create a new Mule project with required building blocks, such as an Anypoint Connector for HTTP (HTTP Connector), Anypoint MQ Connector, Set Payload, and a Logger.

    3. Configure Anypoint MQ Connector and provide the ID and secret of the connected app.

    4. Set the Anypoint MQ Connector operation to publish or consume messages, or to accept (ACK) or not accept (NACK) a message.

    5. Deploy the Mule app.

  8. Test the queue:

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

      Anypoint MQ 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.