Copyright © 2007-2011 VMware, Inc.
Authors: VMware Inc. ([email protected]).
This application provides an Erlang library to interact with an AMQP 0-9-1 compliant message broker. The module documentation assumes that the programmer has some basic familiarity with the execution model defined in the AMQP specification.
The main components are
amqp_connection module is used to open and close connections to an AMQP broker as well as creating channels. The
amqp_channel module is used to send and receive commands and messages to and from a broker within the context of a channel.
Many of the API functions take structured records as arguments. These records represent the commands defined in the AMQP execution model. The definitions for these records are automatically generated by the rabbitmq-codegen project. rabbit-codegen parses a machine readable view of the specification and generates a header file that includes the entire command set of AMQP. Each command in AMQP has an identically named record. The protocol documentation serves as a reference for the attributes of each command.
For more information, refer to the Erlang AMQP client developer's guide on the RabbitMQ website.
amqp_rpc_servermodule provides a generic building block to expose Erlang functions via an RPC over AMQP mechanism. The
amqp_rpc_clientprovides a simple client utility to submit RPC requests to a server via AMQP.
Generated by EDoc, Mar 22 2011, 17:49:23.