Cisco Cisco Process Orchestrator 3.1 User Guide
13-6
Cisco Process Orchestrator 3.1 User Guide
Appendix 13 Using Adapters
Advance Message Queuing Protocol (AMQP) Adapter
•
Arguments—Enter the name and value pair arguments for the queue
Step 4
Enter the information in the remaining tabs as necessary, then click Save to complete the activity
definition.
definition.
Binding an AMQP Queue to an Exchange
Use the Bind Queue activity to bind a queue to an AMQP broker exchange.
Step 1
In the Process Editor Toolbox, choose AMQP > Bind AMQP Queue, then drag and drop the activity
onto the Workflow pane.
onto the Workflow pane.
Step 2
Click the General tab and enter the required information.
Step 3
Click the Bind Queue tab and specify the information that describes the queue binding, including:
•
Queue Name—Name of the queue you want to bind to an exchange.
•
Exchange Name—Name of the exchange you want to bind to a queue.
•
Routing Key—The key to be sent with the message.
•
Arguments—Enter the name and value pair arguments for the queue
Step 4
Enter the information in the remaining tabs as necessary, then click Save to complete the activity
definition.
definition.
Publishing a Message
Use the Publish Message activity to publish a text message to an existing exchange on the AMQP broker.
The message will be routed to queues as defined by the exchange configuration and distributed when the
transaction, if any, is committed.
The message will be routed to queues as defined by the exchange configuration and distributed when the
transaction, if any, is committed.
For example, VMWare vCloud Director can publish vCloud AMQP Messages (also known as blocking
tasks, notifications, or call-outs) related to different provisioning tasks. A Process Orchestrator can not
only receive these events, but can respond to them to delay execution.
tasks, notifications, or call-outs) related to different provisioning tasks. A Process Orchestrator can not
only receive these events, but can respond to them to delay execution.
Step 1
In the Process Editor Toolbox, choose AMQP > Publish AMQP Message, then drag and drop the
activity onto the Workflow pane.
activity onto the Workflow pane.
Step 2
Click the General tab and enter the required information.
Step 3
Click the Publish Message tab and specify the information that describes the message to be published.
Step 4
To define the content header for the message, click Add to display the Content Header dialog box.
Step 5
Click the Message tab to define the header and body of the message. Click Add to display the Message
Header dialog box.
Header dialog box.
Step 6
Enter the information in the remaining tabs as necessary, then click Save to complete the activity
definition.
definition.