Return-Path: Delivered-To: apmail-qpid-users-archive@www.apache.org Received: (qmail 95378 invoked from network); 1 Nov 2010 14:08:14 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Nov 2010 14:08:14 -0000 Received: (qmail 39165 invoked by uid 500); 1 Nov 2010 14:08:45 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 39107 invoked by uid 500); 1 Nov 2010 14:08:44 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 39098 invoked by uid 99); 1 Nov 2010 14:08:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Nov 2010 14:08:43 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=10.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jonathan.robie@redhat.com designates 209.132.183.28 as permitted sender) Received: from [209.132.183.28] (HELO mx1.redhat.com) (209.132.183.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Nov 2010 14:08:36 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oA1E87XT031246 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 1 Nov 2010 10:08:15 -0400 Received: from localhost.localdomain (ovpn-113-94.phx2.redhat.com [10.3.113.94]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id oA1E877Y024073 for ; Mon, 1 Nov 2010 10:08:07 -0400 Message-ID: <4CCEC9C8.9050903@redhat.com> Date: Mon, 01 Nov 2010 10:08:08 -0400 From: Jonathan Robie Organization: Red Hat User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Lightning/1.0b2 Thunderbird/3.1.4 MIME-Version: 1.0 To: users@qpid.apache.org Subject: Re: Publish-Subscribe queue question References: <1288263185053-5682144.post@n2.nabble.com> <4CC95B01.6020303@redhat.com> <1288278508103-5682939.post@n2.nabble.com> <4CC9936D.80308@redhat.com> <1288280384405-5683098.post@n2.nabble.com> <4CC99A0A.6030104@redhat.com> <1288281194796-5683157.post@n2.nabble.com> <4CC99FC3.6060206@redhat.com> <1288313993558-5684875.post@n2.nabble.com> <4CCAB3F6.1000300@redhat.com> <1288575616807-5692661.post@n2.nabble.com> In-Reply-To: <1288575616807-5692661.post@n2.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-Virus-Checked: Checked by ClamAV on apache.org On 10/31/2010 09:40 PM, zhaoyi0113@gmail.com wrote: > > Let me confirm one thing. Old C++ API doesn't have Topic class to implement > pub-sub pattern. New C++ API have implement this patter. Do I understand > correctly? Hi Zhao - Both APIs support both patterns. It's simpler in the new API. Is there a reason you can't use the new API? The new API is better documented on the Apache site, and it's the API we're using going forward. Red Hat contributed a tutorial on the old API, but it required work to make it generic for the Apache site, and it doesn't make sense to do that work now, since we're moving forward on the basis of the new API. I can send you a copy if you want it, but I really encourage you to move to the new API and use Programming in Apache Qpid instead. You can find Programming in Apache Qpid here: http://qpid.apache.org/books/0.7/Programming-In-Apache-Qpid/html/ch02.html Jonathan --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:users-subscribe@qpid.apache.org