0 Replies Latest reply on Jan 29, 2003 5:59 PM by patelj

    Why JMSTopic cloning every message before placing on the con

    patelj Newbie


      In JMSTopic::addMessage() function, the message is cloned (using SpyMessage::myClone()) before placing on each of the consumer queue. This can have significant impact on the performance because the myClone() is doing some deep copying. I do not see why this is neccessary. The message is going to be cloned anyway when the client will synchronously pull or the message is asynchronously pushed to the client.