Hi there I do const cms::Destination *jmsdest = msg->getCMSReplyTo()->clone(); and now and then use the saved jmsdest, to send messages back...
many of my objects gets the same destination, so I dont want to have hundreds of the same destinations hanging around, instead I was to compare two destinations, so I only has one of each. How to do that ? Is there a way to do dest->getname or something, so I can compare two destinations to see if they are indeed the same ? sincerely, Søren -- View this message in context: http://activemq.2283324.n4.nabble.com/CMS-get-name-of-destination-how-to-tp2552032p2552032.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.