As MessageProducer is an Interface having method setTimeToLive(long timeToLive).
So which class is providing implementation for this method? How can i call this method in my program,as it is giving compilation error for this method not found. I have imported javax.jms.MessageProducer in my java program ,and there is no error shown in import statement. Thanks, Sonal -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-expire-or-set-time-to-live-for-topic-messages-tp4667952p4669867.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.