activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pbolle <>
Subject Re: problem set the expiration time for durable topic messages
Date Fri, 06 Jul 2007 05:58:48 GMT

Thank you very much for your fast response. I changed my code but I still
have the problem that time-to-live has no effect.

It here a unittest that test nearly the same situation. Then I could find
out if this is a problem of my program or bug in ActiveMQ.

Regards Philipp

rajdavies wrote:
> You don't set the expiration directly on the message - but set the  
> time-to-live on the Producer - i.e.  
> javax.jms.MessageProducer.setTimeToLive(long timeToLive)

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

View raw message