Return-Path: X-Original-To: apmail-qpid-commits-archive@www.apache.org Delivered-To: apmail-qpid-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1248610DF0 for ; Wed, 22 Jan 2014 09:51:01 +0000 (UTC) Received: (qmail 54208 invoked by uid 500); 22 Jan 2014 09:51:00 -0000 Delivered-To: apmail-qpid-commits-archive@qpid.apache.org Received: (qmail 54143 invoked by uid 500); 22 Jan 2014 09:50:57 -0000 Mailing-List: contact commits-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list commits@qpid.apache.org Received: (qmail 54134 invoked by uid 99); 22 Jan 2014 09:50:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jan 2014 09:50:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jan 2014 09:50:55 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id D3402238889B; Wed, 22 Jan 2014 09:50:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1560298 - /qpid/trunk/qpid/cpp/AMQP_1.0 Date: Wed, 22 Jan 2014 09:50:34 -0000 To: commits@qpid.apache.org From: gsim@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140122095034.D3402238889B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: gsim Date: Wed Jan 22 09:50:34 2014 New Revision: 1560298 URL: http://svn.apache.org/r1560298 Log: NO-JIRA: Added some information about 'topic' type Modified: qpid/trunk/qpid/cpp/AMQP_1.0 Modified: qpid/trunk/qpid/cpp/AMQP_1.0 URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/AMQP_1.0?rev=1560298&r1=1560297&r2=1560298&view=diff ============================================================================== --- qpid/trunk/qpid/cpp/AMQP_1.0 (original) +++ qpid/trunk/qpid/cpp/AMQP_1.0 Wed Jan 22 09:50:34 2014 @@ -163,7 +163,8 @@ warning is logged. If the node is an exchange, then an outgoing link (i.e. messages to travel out from broker) will cause a temporary, link-scoped queue to -be created on the broker and bound to the exchange. +be created on the broker and bound to the exchange. [See section on +'Topics' below] Outgoing links may have a filter set on their source. The filters currently supported by the broker are 'legacy-amqp-direct-binding', @@ -282,4 +283,27 @@ exchange the 'legacy-amqp-direct-binding references a queue or a topic exchange, 'legacy-amqp-topic-binding' will be added. +* Topics: a mechanism for controlling subscription queues + +As there is no standard or obvious mechanism through which to +configure subscription queues in AMQP 1.0, a new broker entity of type +'topic' has been added. + +A topic references an existing exchange and additionally specifies the +queue options to use when creating the subscription queue for any +receiver link attached to that topic. There can be topics with +different names all referencing the same exchange where different +policies should be applied to queues. + +Topics can be created and deleted using the qpid-config tool, e.g. + + qpid-config add topic my-topic --argument exchange=amq.topic\ + --argument qpid.max_count=500 --argument qpid.policy_type=self-destruct + +If a receiver is established for address 'my-topic/my-key' over 1.0 +now, it will result in a subscription queue being created with a limit +of 500 messages, that deletes itself (thus ending the subscription) if +that limit is exceeded and is bound to 'amq.topic' with the key +'my-key'. + [1] https://issues.apache.org/jira/browse/QPID-4710 --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org For additional commands, e-mail: commits-help@qpid.apache.org