activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Pechorin <>
Subject Re: ActiveMQ-CPP: how to send to temp queue?
Date Thu, 16 Jul 2009 14:46:55 GMT

> Actually its not nearly as hard as all that.  Each of the Destination
> classes in CMS extends from cms::Destination which defines a clone
> method.  When you receive a message that has a replyTo destination you
> can simply clone the destination and use the new instance you created to
> create a new producer for that destination or you can use an existing
> producer and call one of the send methods that takes a Destination as an
> argument.

Thanks a lot, Tim. 

Can I store clone()'ed destination and use it in different session or even
in a session in different connection?

Best regards, Ivan
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message