> For the complete documentation index, see [llms.txt](https://docs.pentaho.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pentaho.com/pdia-data-integration/10.2-data-integration/pdi-transformation-steps-reference-overview/amqp-consumer/options-amqp-consumer/create-a-new-amqp-message-queue.md).

# Create a new AMQP Message Queue

The options and settings in the AMQP Consumer **Setup** tab make it possible for you to create a new AMQP message queue the first time you run the AMQP Consumer step in a transformation. The new AMQP message queue will default to the following properties:

* Durable
* Non auto-delete
* Non-exclusive

When you use the AMQP Consumer to create a new queue, the broker bindings are initialized the first time you run the AMQP Consumer step in a transformation. Once you initialize the bindings, you can then start the AMQP 0-9-1 message producer before running the AMQP Consumer step. As a recommended best practice, always run the AMQP Consumer step first, before you start producing or publishing any messages through the AMQP producer.

To create a new AMQP message queue on the broker, define the **Connection**, **Queue name** and **Exchange name** options in the **Setup** tab as follows:

| Option            | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Connection**    | Specify the URI address of the AMQP broker to which this step connects to ingest messages into PDI. For more information see: <https://www.rabbitmq.com/uri-spec.html>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| **Queue name**    | <p>Specify the name of a new AMQP message queue from which this step will ingest messages.</p><p>The new queue will be created automatically the first time you run the transformation.</p><p>The new queue and its exchange attributes will default to the following properties:</p><ul><li>Durable</li><li>Non auto-delete</li><li>Non-exclusive</li></ul><p><strong>Note:</strong> If you specify a queue name that already exists on the broker, but the existing queue has parameter settings that differ from these, or if the specified queue has an <strong>Exchange type</strong> (below) that is different, the transformation will abort.</p>                                                                                                                                                                                        |
| **Exchange name** | <p>Specify either a new exchange name or an existing exchange name from which to bind the queue.</p><p>If the exchange name does not already exist, it will default to the following properties:</p><ul><li>Durable</li><li>Non auto-delete</li></ul><p>Leave the <strong>Exchange name</strong> blank to use the <strong>DEFAULT</strong> as the <strong>Exchange type</strong> (below) and set the <strong>Exchange type</strong> to <strong>DIRECT</strong>. The <a href="https://github.com/pentaho/documentation/blob/main/PDIA/10.2/PDI/Transformation%20steps/PDI%20transformation%20steps%20reference%20(overview)/AMQP%20Producer=GUID-63D8BDBD-C2F9-45DC-9339-B657B2E34C57=2=en=.md">AMQP Producer</a> step will require a matching blank entry in its <a href="/pages/ObsbMMcqTFjTSm3PHMJM">Setup tab</a> for the Exchange name.</p> |

Set up the remaining \*\*Exchange type\*\*, \*\*Routing Keys\*\* or \*\*Headers\*\*options as explained in \[Use an existing AMQP Message Queue]\(Use%20an%20existing%20AMQP%20Message%20Queue.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pentaho.com/pdia-data-integration/10.2-data-integration/pdi-transformation-steps-reference-overview/amqp-consumer/options-amqp-consumer/create-a-new-amqp-message-queue.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
