> This is regarding active mq topic.
> Recently we have seen issue of head dump saying Topic containing huge
> number of messages which is taking lot of memory. It seems topic messages
> were not consumed by the consumer, might be(not sure)  because the
> consumer died due to some other reason.

> What are the ways to expire or delete messages from topic depending on
> time or non-availability of consumer?
> Could you please suggest some good solution to improve or fix this issue?

We tried setting setJmsExpiration(120000) method to
message(activemqObjectMessage) properties but the topic messages are not
geting expired.

Thanks 
Sonal




--
View this message in context: 
http://activemq.2283324.n4.nabble.com/How-to-expire-or-set-time-to-live-for-topic-messages-tp4667952.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to