Setup tab

Pentaho Data Integration

Version
9.3.x
Audience
anonymous
Part Number
MK-95PDIA003-09
AMQP PRODUCER STEP Setup tab

The Setup tab defines connections for publishing messages, queue names, exchange name and type, and routing keys or headers.

Option Description
Connection Specify the URI address of the AMQP broker which this step will connect to publish messages into PDI. For more information see: https://www.rabbitmq.com/uri-spec.html
Exchange name

Specify the exchange name to which this step will publish messages.

To use DEFAULT as the Exchange type (below), leave this option blank and set the Exchange type to DIRECT.

Leave this option blank if you did not specify an Exchange name in the AMQP Consumer step.

Exchange type

Specify the type pattern this exchange is using.

DIRECT
Routes messages to queues based on the message Routing key (specified below).
DEFAULT
To use the DEFAULT exchange type, do not specify an Exchange name (above) and set the Exchange type to DIRECT.
FANOUT
Routes messages to all the queues that are bound to the fanout exchange and the routing key is ignored.
TOPIC
Routes messages to one or many queues based on a match between a message routing key and the pattern used to bind a queue to an exchange. Specify the Routing key in the option below.
HEADERS

Routes messages using one or more key/value pairs that are more easily expressed as message headers than a routing key. Specify the headers in a table using the Headers option.

Routing key
If you selected DIRECT or TOPIC as the Exchange type, you must select a routing key retrieval method:
  • Specify Routing Key: Select this retrieval method to enter a specific routing key name.
  • Get data from field: Select this retrieval method to specify a field from which to retrieve routing key data.
To use the DEFAULT configuration:
  1. Do not specify an Exchange name (above).
  2. Choose DIRECT as the Exchange type (above).
  3. Specify the queue name in this Routing key field. The queue name you specify here must match the queue name you specified in the Queue name option in the AMQP Consumer step.
Headers
If you selected HEADERS as the Exchange type, you must specify a retrieval method, and then specify the Name and Value in the accompanying table. To specify the retrieval method, select one of the following:
  • Specify headers - Enter the header Name and Value.
  • Get data from field - Enter the field from which to retrieve the header Name and Value.
Message field Specify this step's input field from which this step will retrieve the message you are publishing.