You can run a workflow to add an exchange in a specified broker.

Before you begin

  • Verify that you are logged in to the Orchestrator client as an administrator.

  • Verify that you have a connection to an AMQP broker from the Inventory view.

Procedure

  1. Click the Workflows view in the Orchestrator client.
  2. In the hierarchical list of workflows, select Library > AMQP and navigate to the Declare an exchange workflow.
  3. Right-click the Declare an exchange workflow and select Start workflow.
  4. Select a broker to which you want to add the exchange.
  5. In the Name text box, type a name for the exchange.
  6. Select the exchange type.

    Option

    Description

    direct

    Makes a direct match between the routing key provided in the message and the routing criteria used when a queue is bound to this exchange.

    fanout

    Forwards any message sent to this exchange to all queues bound to it. Queues that are bound to this exchange contain no arguments.

    headers

    Queues are bound to this exchange with a table of arguments that can contain headers and values. A special argument named x-match determines the matching algorithm.

    topic

    Performs a wildcard match between the routing key and the routing pattern specified in the binding.

  7. Select whether the exchange is durable.

    Option

    Description

    Yes

    The exchange remains after a broker restart.

    No

    The exchange is removed after a broker restart.

  8. Select whether to automatically delete the exchange with activated subscription.

    Option

    Description

    Yes

    Automatically deletes the exchange when no more queues are bound to it. The exchange remains until at least one queue is bound to it.

    No

    Does not automatically delete the exchange.

  9. Click Submit to run the workflow.