The Advanced Message Queuing Protocol (AMQP) is an open standard application layer protocol for message-oriented middleware. It delivers message orientation, queuing, routing (including point-to-point and publish-and-subscribe), reliability and security. AMQP came out of the financial industry, and is proven highly scalable in demanding environments (refer http://www.amqp.org/).
AMQP is the emerging standard for messaging and events in the cloud. For example:
vCloud Director can publish vCloud Messages, also known as “blocking tasks,” “notifications,” or “call-outs,” related to different provisioning. An orchestrator can not only receive these events, but can also respond to them to delay execution.
AMQP is supported with vCloud Orchestrator.
OpenStack selected AMQP as the messaging technology for OpenStack.
AMQP is integrated with more than 70 developer platforms, providing a nice framework for event-oriented integrations.
AMQP enables event-driven capabilities of Enterprise Service Bus-style designs. It enables queuing, so automation can fetch messages when there is capacity. You can use asynchronous methods servicing requests as capacity allows when possible, and reserve real-time, synchronous methods only when absolutely needed. AMQP’s open platform is a natural choice for event and message design patterns.
Action Orchestrator can trigger processes in response to messages placed on AMQP queues/exchanges. Processes can also read messages from queues/exchanges one at a time if they want to respond to messages one at a time rather than in parallel, to operate more as a queue. Processes can submit messages to queues/exchanges.
JMS is another possible integration enabled through AMQP. AMQP has providers to place JMS messages on queues/exchanges.
To create a new AMQP event perform the following procedure:
Under Select Type, select AMQP Event from the dropdown list.
Under General, specify the following information:
Display Name: Enter the unique display name for the AMQP event.
Description: Enter the brief description about the AMQP event.
Target: Select the target from the dropdown list. To add a new target, click +ADD NEW from the dropdown list. For more information, see AMQP Endpoint.
Under Criteria, specify the following information:
Queue Name: Enter the name of the queue.
Conditions: Click +ADD to specify the condition, enter the following information:
Left Operand: Enter the value for the left operand.
Operator: From the dropdown list, choose the operator to use for comparing the value:
Does not match wildcard: Determines if the item does not match all items in the wildcard example
Equal: Determines if the left side equals the right side (if this is a string comparison, this is case-insensitive)
Match regular expression: Determines if the left side matches the regular expression specified on the right side.
Matches wildcard: Determines if the left side matches the wildcard specified on the right side.
Not equals: Determines if the left side does not equal the right side
Right Operand: Enter the value for the right operand.
Click Submit, to save the changes.
- No labels