activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pbolle <bo...@productandconcept.com>
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: http://www.nabble.com/problem-set-the-expiration-time-for-durable-topic-messages-tf4025141s2354.html#a11459193
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message