Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 37714 invoked from network); 7 Dec 2008 21:00:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Dec 2008 21:00:10 -0000 Received: (qmail 15617 invoked by uid 500); 7 Dec 2008 21:00:22 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 15601 invoked by uid 500); 7 Dec 2008 21:00:22 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 15590 invoked by uid 99); 7 Dec 2008 21:00:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Dec 2008 13:00:22 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Dec 2008 20:58:49 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1L9Qj3-0003Vm-0S for users@activemq.apache.org; Sun, 07 Dec 2008 12:59:37 -0800 Message-ID: <20885825.post@talk.nabble.com> Date: Sun, 7 Dec 2008 12:59:37 -0800 (PST) From: Sodan To: users@activemq.apache.org Subject: Re: Questions about getCMSReplyTo In-Reply-To: <1228490942.3592.1.camel@office> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: sodan@sodan.dk References: <20853339.post@talk.nabble.com> <20854546.post@talk.nabble.com> <1228486764.7539.58.camel@office> <20855709.post@talk.nabble.com> <1228490942.3592.1.camel@office> X-Virus-Checked: Checked by ClamAV on apache.org all works fine! thanx S=C3=B8ren Timothy Bish wrote: >=20 > On Fri, 2008-12-05 at 07:06 -0800, Sodan wrote: >> So if I do >> Message *clone =3D message->clone(); >> and then later (out of scope) clone the dest, >> then that should be safe also, right ? >>=20 >> thanx >> S=C3=B8ren >=20 > Yes, all clone operations in ActiveMQ-CPP perform deep copies, so > anything you clone you can assume that the internal data is independent > of the original and can be cloned itself without worrying about lifetime > of the original object. >=20 > -Tim >=20 >=20 > --=20 > Tim Bish > http://fusesource.com > http://timbish.blogspot.com/ >=20 >=20 >=20 >=20 >=20 --=20 View this message in context: http://www.nabble.com/Questions-about-getCMSR= eplyTo-tp20853339p20885825.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.