activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sodan <so...@sodan.dk>
Subject Re: Questions about getCMSReplyTo
Date Sun, 07 Dec 2008 20:59:37 GMT

all works fine!

thanx
Søren



Timothy Bish wrote:
> 
> On Fri, 2008-12-05 at 07:06 -0800, Sodan wrote:
>> So if I do
>> Message *clone = message->clone();
>> and then later (out of scope) clone the dest,
>> then that should be safe also, right ?
>> 
>> thanx
>> Søren
> 
> 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.
> 
> -Tim
> 
> 
> -- 
> Tim Bish
> http://fusesource.com
> http://timbish.blogspot.com/
> 
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Questions-about-getCMSReplyTo-tp20853339p20885825.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message