Creating a Process to Handle AMQP Messages
To create a process that handles the AMQP messages, follow these steps:
- 1Create a process and select a Secure Agent where the AMQP broker should run and other properties of the process.
- 2On the Start tab, choose to Start Via Event as AMQP consumes events.
You can then see the available event sources (grouped by Connection:event name).
Process Example
To queue messages on the AMQP queue, you might define a process that includes:
- •An Assignment step to assign the message to the orders queue.
- •A Wait step to include a timer.
- •A Service step that uses a connection and event target.
The event target can be handled like other service calls. The input argument is a process object that defines the data required for the transport.