thanks. So could I do something like this...
void *cloneMessageProperties(void *src_msg) {
        Message *msg = ((Message *)src_msg)->clone();
        msg->clearBody();
        return msg;
}



Timothy Bish wrote:
> 
> On Wed, 2009-06-03 at 12:24 -0700, nmittal wrote:
>> Hi, is there a function to copy all properties in a message to a new one.
>> 
>> thanks
>> Nishant
> 
> No, you can clone an entire Message with the clone method, but there's
> not a specific method for just copying properties.
> 
> Regards
> Tim
> 
> 
> -- 
> Tim Bish
> http://fusesource.com
> http://timbish.blogspot.com/
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/CMS%3A-Cloning-a-Message-tp23857727p23858172.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to