I found the problem! The problem is that there is bug in the Version apache-activemq-4.1.1. But the SVN version is working correct.
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#a11758634 Sent from the ActiveMQ - User mailing list archive at Nabble.com.