> 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: http://www.nabble.com/ActiveMQ-CPP%3A-how-to-send-to-temp-queue--tp24516906p24517865.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.