Return-Path: Delivered-To: apmail-qpid-users-archive@www.apache.org Received: (qmail 66881 invoked from network); 21 Aug 2009 09:48:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Aug 2009 09:48:06 -0000 Received: (qmail 14827 invoked by uid 500); 21 Aug 2009 09:48:27 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 14791 invoked by uid 500); 21 Aug 2009 09:48:26 -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 14765 invoked by uid 99); 21 Aug 2009 09:48:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2009 09:48:24 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gsim@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; Fri, 21 Aug 2009 09:48:12 +0000 Received: from int-mx07.intmail.prod.int.phx2.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n7L9loKs006930 for ; Fri, 21 Aug 2009 05:47:50 -0400 Received: from pobox.fab.redhat.com (pobox.fab.redhat.com [10.33.63.12]) by int-mx07.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n7L9lmZs028178 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 21 Aug 2009 05:47:50 -0400 Received: from [10.11.12.72] (vpn-12-72.rdu.redhat.com [10.11.12.72]) by pobox.fab.redhat.com (8.13.1/8.13.1) with ESMTP id n7L9lk96032742 for ; Fri, 21 Aug 2009 05:47:47 -0400 Message-ID: <4A8E6DB8.1020807@redhat.com> Date: Fri, 21 Aug 2009 10:49:44 +0100 From: Gordon Sim Organization: Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom.,Registered in England and Wales under Company Registration No. 3798903,Directors: Michael Cunningham (USA), Charlie Peters (USA) and David Owens (Ireland) User-Agent: Thunderbird 1.5.0.2 (X11/20060501) MIME-Version: 1.0 To: users@qpid.apache.org Subject: Re: C++ client won't connect to Java broker References: <1250779228826-3479487.post@n2.nabble.com> <1250789408560-3480522.post@n2.nabble.com> <4A8D8CCD.6060001@redhat.com> <1250795808875-3481129.post@n2.nabble.com> In-Reply-To: <1250795808875-3481129.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.20 X-Virus-Checked: Checked by ClamAV on apache.org Rich Stephens wrote: > Thanks for the quick reply. > > It seems I have made some rather silly errors in my client code: > > 1) I was assigning the newSession to a local session variable instead of my > class member (unintentionally) > 2) I didn't realize that the "url" argument to open->(URL) was an actual > qpid Url class rather than a URL string. Should pay closer attention to the > header files... > > That said, I would have never had a clue as to the 0.10 URL format without > your tip. Yes, we need to make that clear in the API reference docs at the very least. > I have been looking around for some documentation on that format, > but I haven't found any on the web as of yet -- some proposals, but nothing > solid. Could you possibly point me where I could find decisive > documentation on the 0.10 url format beyond just "amqp:tcp:host:port"? The 0-10 specification[1] defines the format ('connection.amqp-host-url' chapter 9, page 113) as: amqp_url = "amqp:" prot_addr_list prot_addr_list = [prot_addr ","]* prot_addr prot_addr = tcp_prot_addr | tls_prot_addr tcp_prot_addr = tcp_id tcp_addr tcp_id = "tcp:" | "" tcp_addr = [host [":" port] ] host = port = number]]> [1] http://jira.amqp.org/confluence/display/AMQP/AMQP+Specification --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:users-subscribe@qpid.apache.org