Return-Path: X-Original-To: apmail-qpid-users-archive@www.apache.org Delivered-To: apmail-qpid-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F028F62C7 for ; Fri, 8 Jul 2011 18:32:41 +0000 (UTC) Received: (qmail 8280 invoked by uid 500); 8 Jul 2011 18:32:41 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 8188 invoked by uid 500); 8 Jul 2011 18:32:41 -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 8175 invoked by uid 99); 8 Jul 2011 18:32:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jul 2011 18:32:40 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of litao.gang@jpmorgan.com designates 159.53.110.174 as permitted sender) Received: from [159.53.110.174] (HELO sj2.jpmchase.com) (159.53.110.174) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jul 2011 18:32:31 +0000 Received: from se2.svr.bankone.net (se2.svr.bankone.net [155.180.234.120]) by sj2.jpmchase.com (Switch-3.3.3mp/Switch-3.3.3mp) with ESMTP id p68IW6A5010558 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 8 Jul 2011 14:32:07 -0400 X-DKIM: Sendmail DKIM Filter v2.5.6 sj2.jpmchase.com p68IW6A5010558 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=jpmorgan.com; s=smtpout; t=1310149927; bh=hO6Jej3DIdNVPKZPDBTEJOYSSXs49M7N/tmc7ih 4MtM=; h=From:To:Date:Subject:Message-ID:MIME-Version:Content-Type; b=NR+e83IIvOu46brzZYGVh1ALcWFZkkM+Cp5dzv8xKfbZ0PG7ZUm3oaLiQVC75otOX rkG8uCCJypFNfdpMvUAmoeZeo3dIEoQUZJLJd214i1huBuaXbVLd8dm11Ze3opw+0/h Pd/lAVJE0XcbsU3oTkOw5Y+ZIXr0BdmtXVzSgs0= Received: from svr.bankone.net (cssnat232.bankone.net [172.18.0.232]) by se2.svr.bankone.net (Switch-3.4.3/Switch-3.4.3) with ESMTP id p68IW8LU015253 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 8 Jul 2011 14:32:08 -0400 Received: from ([155.180.52.15]) by imf3.svr.bankone.net with ESMTP id CDN2FN1.30393126; Fri, 08 Jul 2011 14:32:02 -0400 Received: from HUBS208.exchad.jpmchase.net (169.69.213.148) by HUBCS201.exchad.jpmchase.net (169.69.182.78) with Microsoft SMTP Server (TLS) id 8.2.247.2; Fri, 8 Jul 2011 14:32:03 -0400 Received: from EMASC203VS01.exchad.jpmchase.net ([169.254.1.252]) by HUBS208.exchad.jpmchase.net ([169.69.213.148]) with mapi; Fri, 8 Jul 2011 14:32:00 -0400 From: "Gang, Litao" To: "users@qpid.apache.org" Date: Fri, 8 Jul 2011 14:33:56 -0400 Subject: how to set discardUnroutable in qpid::messaging::message object. Thread-Topic: how to set discardUnroutable in qpid::messaging::message object. Thread-Index: Acw9nZg+rXdlo0YtSsKk7RP9QJ2tLQ== Message-ID: <621F5B190D7FF3499825E37184F16F3E1924A10A54@EMASC203VS01.exchad.jpmchase.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 X-DLP-FWD: Yes Content-Type: multipart/alternative; boundary="_000_621F5B190D7FF3499825E37184F16F3E1924A10A54EMASC203VS01e_" X-Virus-Checked: Checked by ClamAV on apache.org --_000_621F5B190D7FF3499825E37184F16F3E1924A10A54EMASC203VS01e_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello there,=0D=0A=0D=0AI have a simple question on the C++ api=2E=0D=0A=0D= =0AI want to handle the case where the message destination is not reachable= =2E Right now, w/o doing anything, I got an error like=0D=0A=0D=0A2011-07= -08 10:53:17 warning Exception received from broker: not-found: not-found: = Queue not found: 7efc7c38-7e73-4aa4-9fca-84c0e38ad4b7 (qpid/broker/SessionA= dapter=2Ecpp:755) [caused by 2 \x08:\x01]=0D=0A2011-07-08 10:53:17 error an= onymous=2E4a1e7ce0-52ee-4186-9439-d6bafd54f5b1 error: Queue 7efc7c38-7e73-4= aa4-9fca-84c0e38ad4b7 does not exist=0D=0Aterminate called after throwing a= n instance of 'qpid::messaging::NotFound'=0D=0A what(): Queue 7efc7c38-7e= 73-4aa4-9fca-84c0e38ad4b7 does not exist=0D=0A=0D=0AIt is caused by an unre= achable queue=2E If I use client::message, I can specify the deliveryProp= erty, use setDiscardUnroutable(true)=2E But I am u= sing messaging::message class, and the only method I guess I can use is set= Property()=2E But I did not find any document, which property name I shoul= d use,and how to set it=2E=0D=0A=0D=0ACould anybody shed some lights on thi= s?=0D=0A=0D=0AThank you very much!=0D=0A=0D=0ALG=0D=0A=0D=0A=0D=0AThis emai= l is confidential and subject to important disclaimers and=0D=0Aconditions = including on offers for the purchase or sale of=0D=0Asecurities, accuracy a= nd completeness of information, viruses,=0D=0Aconfidentiality, legal privil= ege, and legal entity disclaimers,=0D=0Aavailable at http://www=2Ejpmorgan= =2Ecom/pages/disclosures/email=2E --_000_621F5B190D7FF3499825E37184F16F3E1924A10A54EMASC203VS01e_--