Apache Qpid : 0.6 Feature Descriptions
This page last changed on Mar 05, 2010 by shuston.
1. Related Pages0.6 Feature Matrix 2. Protocol Features2.1. AMQPAdvanced Message Queuing Protocol (AMQP) is an Open Messaging Middleware standard upon which Qpid's wire protocol is based. The standard is maintained by the AMQP Working Group. Currently the following versions of the protocol exist:
2.2. Producer Flow ControlThe broker will throttle (reduce) the rate at which clients can publish messages if the broker starts to run low on resources or if queue size policies dictate. For a detailed discussion, see the following pages: 2.3. TransactionsLocal one-phase commit (1PC) transactions ensure atomicity over a number of otherwise disconnected actions on the broker (such as publishing or consuming a number of messages in a group). For local transactions, the broker creates an internal transaction ID and uses it to track the state of the transaction. The client must either commit or abort the transaction to close it. 2.4. Distributed TransactionsDistributed two-phase commit (2PC) transactions ensure atomicity over a number of otherwise disconnected actions on a distributed system (which involve two or more brokers and/or clients). This operation is usually coordinated by an external transaction monitor which creates transaction IDs and controls the state of the transaction. For a detailed discussion, see the following resources: 2.5. SSLSSL allows IP communications between the broker(s) and client(s) to be encrypted. For a detailed discussion, see the following resources: 2.6. RDMARemote Direct Memory Access (RDMA) permits high-throughput, low-latency communications between broker(s) and client(s). Among its features is zero-copy networking in which the network hardware copies networked data directly to the application memory space without the use of operating system buffers. RDMA implementations include Infiniband and iWarp (which uses RDMA over TCP). 3. Broker Features3.1. Access Control Lists (ACL)Security mechanism by which users may be granted permissions to perform the various operations on a broker from a client. For a detailed discussion, see the following resources: 3.2. ClusteringModule which allows several brokers to form an active-active or high availability (HA) cluster, primarily for reliability. For a detailed discussion, see the following resources: 3.3. FederationMechanism by which brokers can be connected primarily for the purpose of sharing load and providing broker-broker connectivity. For a detailed discussion, see the following resources: 3.4. QMF Management ExchangeQMF is a general-purpose management bus built using Qpid. Qpid itself may be managed using this facility. The Management Exchange is the component loaded by the broker to enable management functionality on a broker. For a detailed discussion, see the following resources: 3.5. QMF AgentThe QMF agent is the component which is embedded into the managed entities, and provides QMF awareness to that entity. For a detailed discussion, see the following resource: 3.6. JMX Management ConsoleThe Qpid JMX Management Console is a standalone Eclipse RCP application that communicates with the broker using JMX. For a detailed discussion, see the following resources: 3.7. QManQMan is a management bridge for Qpid. It exposes the broker's QMF management interfaces using Java Management Extensions (JMX) and / or OASIS Web Services Distributed Management (WSDM). For a detailed discussion, see the following resource: 3.8. SelectorsThe ability to filter the messages browsed or consumed from a queue. The filter is limited to message header properties. 3.9. ReplicationAsynchronous replication of queue state through the use of events on a secondary broker. For a detailed discussion, see the following resource: 3.10. WatchdogThe watchdog plug-in will kill the qpidd broker process if it becomes stuck for longer than a configured interval. 3.11. XML ExchangeA plug-in exchange which can open messages and run xquery against it's XML content in order to determine routing to the appropriate queue. 3.12. Last Value Queue (LVQ)A queue in which the content is maintained as key-value pairs. Publishing to a LVQ updates the value against its key; consuming a message for a particular key allows the last value to be read. The key/value pair may or may not be consumed, depending on options. For a detailed discussion, see the following resources: 3.13. Priority QueueQueues in which the delivery order is determined primarily by the priority of the message, and secondarily by the order of arrival. For a detailed discussion, see the following resources: 3.14. SASL SecuritySimple Authentication and Security Layer - an industry standard framework for authentication, and implemented in Qpid. For a detailed discussion, see the following resources: 3.15. BDB Store ModuleAn implementation of a persistence store using Oracle Berkeley Database (BDB) which provides persistence to exchanges and queues and their configurations, and to the messages on these queues. Exchanges, queues and messages must be set to be persistent before they will be persisted. In addition, only persistent queues may store persistent messages. For a detailed discussion, see the following resource: 3.16. SQL Database Store ModuleAn implementation of a persistence store using a QSL database which provides persistence to exchanges and queues and their configurations, and to the messages on these queues. Exchanges, queues and messages must be set to be persistent before they will be persisted. In addition, only persistent queues may store persistent messages. 3.17. Async Store ModuleA Linux-only implementation of a persistence store using a combination of BDB (for exchange and queue configuration) and a custom-written asynchronous store (for message content and transactions). This store is capable of writing messages to disk at high rates through the use of DMA. Exchanges, queues and messages must be set to be persistent before they will be persisted. In addition, only persistent queues may store persistent messages. 3.18. Durable ExchangesExchanges and their configuration are persisted so that they do not need to be recreated on recovery or on startup of a previously running broker where they were present. The exchange must be set to be persistent and there must be a store module loaded for this persistence to be active. 3.19. Durable QueuesQueues and their configuration are persisted so that they do not need to be recreated on recovery or on startup of a previously running broker where they were present. The queue must be set to be persistent and there must be a store module loaded for this persistence to be active. Note also that only persistent queues can store persistent messages and recover them at recovery/startup. 3.20. Durable BindingsBindings and their configuration are persisted so that they do not need to be recreated on recovery or on startup of a previously running broker where they were present. The exchange and the queue being bound must be set to be persistent and there must be a store module loaded for this persistence to be active. 3.21. Queue Sizing PoliciesThe content of queues may be limited by number and/or cumulative message size. When these limits are exceeded, the queue may manage the situation by (among others) refusing to accept new messages, throttling message production, or flowing the messages to disk (see Flow-to-disk below). 3.22. Flow-to-diskFlow-to-disk is one of the mechanisms for handling queue size policy violations. This mechanism allows all messages which exceed a queue size policy to be written to disk (whether persistent or not), and the message content is released from memory. To consume the message, however, the message must first be read from the store to restore its content to the queue. For a detailed discussion, see the following resources: 4. Client Features4.1. New Messaging APIA new consistent set of client messaging APIs which do not require an in-depth knowledge of AMQP, but focus instead on generic messaging tasks such as sending and receiving messages. 4.2. New QMF APIBuilt on top of the New Messaging API, this new QMF API simplifies the use of QMF, and uses a work-queue based event model. For a detailed discussion, see the following resource: 4.3. Priority DeliveryA client can change the priority model and/or level used by the broker to deliver messages (see 3.12. Priority Queue above). 5. External Tools5.1. qpid-configA command-line tool to create, delete and configure queues, exchanges and bindings on a broker. For a detailed discussion, see the following resource: 5.2. qpid-toolA telnet type tool to access QMF data, view QMF management schemas, issue commands and QMF resources. For a detailed discussion, see the following resource: 5.3. qpid-clusterFor a detailed discussion, see the following resource: 5.4. qpid-routeA command-line tool to configure broker federation routes. This tool is used to establish a broker federation. For a detailed discussion, see the following resource: 5.5. qpid-statA command-line tool which shows information on brokers, connections, exchanges and queues. For a detailed discussion, see the following resource: |
![]() |
Document generated by Confluence on May 26, 2010 10:31 |